How to configure a VPN through a batch file or some kind of installer
Posted on 2007-10-11
I have a server in which people can log into via VPN and access particular share points. once logged into the VPN, I have written a program that will map a user's share point to their 'My Computer' (they must first connect to the VPN network).
My problem is that it takes 2-3 minutes to setup a VPN on the client machine. I would like to know if there is some way I can write an installer that will automatically setup the actual VPN for the client machine. This will obviously be used only once - from then on, my program can mount the share points (through a batch file).
So to simplify the request - is there any way I can actually INSTALL / SETUP a VPN on the Windows XP client machines so they can access the network? Any examples using a batch file would probably be the most ideal option for me.. But I am open to any suggestions ..
Thanks a lot!
PS My programming skill is high enough to dynamically create batch files and launch them on the fly. So bare that in mind - as long as I have a template that works, the username and password can be inserted into the batch file before it launches!