Scripted VPN connection

  • Thread starter Thread starter Michael Lawson
  • Start date Start date
M

Michael Lawson

I want to be able to have a 'scripted' VPN connection that I can run at
scheduled times. I would like to be able to establish the vpn connection,
create a drive map, copy files, disconnect the drive map, and finally drop
the vpn connection. I am using the Microsoft vpn client that's part of W2K
and this will be a server to server connection and data transfer. The vpn
connections work fine when initated manually but I'd like to have them kick
off in the middle of the night since that is when the least user load is
placed on the wan connections at each end.

Thanks,
Mike Lawson
 
you use scheduler + rasdial. quoted from http://howtonetworking.com.
How to establish VPN connection automatically
1. You can run rasdial.exe as a service by using instsrv.exe
2. Add rasdial.exe into startup.
3. Create IPSec VPN if you have static IP.


--
For more and other information, go to http://howtonetworking.com.

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, Remote Access on
http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
 
Back
Top