howto launch a VPN from cmdline

  • Thread starter Thread starter Guillermo Lovato
  • Start date Start date
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
 
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
 
Back
Top