howto launch a VPN from cmdline

G

Guillermo Lovato

We're developing an application that needs to launch a VPN PPTP connection
and then close it, the thing is that the connection must not necesarily be
created before this program.

is there a cmdline way to do this?(passing options to a command to establish
the connection).

thanks in advance
 
R

Robert L [MS-MVP]

You can use rasdial line. this page may help,

How to vpn automatically
How to start VPN when logon 1/2. You may have many options to connect a VPN ...
Create a logon batch with rasdail command to start the VPN connection. ....
www.howtonetworking.com/VPN/autorasdial1.htm

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
We're developing an application that needs to launch a VPN PPTP connection
and then close it, the thing is that the connection must not necesarily be
created before this program.

is there a cmdline way to do this?(passing options to a command to establish
the connection).

thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top