Book Reviews


[Day Permalink] Wednesday, May 12, 2004

[Item Permalink] A new way of scripting Cisco VPN -- Comment()
Someone commented anonymously my entry on scripting Cisco VPN. Thanks for this hint!
[Cisco] vpnclient will honor a saved user name and password, but overwrites the config file and erases them. So you can also do something like this:
#!/bin/sh 
cd $profiledir 
cp myprofile.saved.pcf myprofile.pcf 
vpnclient myprofile
Put your username and password in the saved file:
Username=myname 
UserPassword=mypass  
This is for Linux but it should work the same.