2

Does anybody know if its possible to create a Windows PPTP VPN connection from the command line for XP/Vista machines? This will allow me to do somethings via Group Policy.

Regards

hulbs9nw
  • 336

2 Answers2

2

You'll really enjoy the Connection Manager Administation Kit if you want to create a maintainable method for distributing VPN connection information. The CMAK also lets you do some neat things like running a script when the VPN connection starts.

You can use this tool to create a program to generate an EXE that automatically configures client computers with a "connection" to your VPN server. We typically deploy it onto client computers using startup scripts with a registry-based versioning mechanism to cause computers to install new versions if we deploy them.

Evan Anderson
  • 142,957
0

Not sure what the details are (OS version and type of firewall), but NETSH should do the trick for you. See if this helps:

http://www.windowsnetworking.com/articles_tutorials/Configure-Windows-2008-Advanced-Firewall-NETSH-CLI.html

TrevJen
  • 264