Hi, I have done it with the help of 'cygrunsrv' (of cygwin). The attached file 'vpn_connect_cs.sh' is the script that is run as a service. It is installed as a service by running the scripts 'srv_vpn_connection.sh'
I have tested it a little bit and it seems to work. What do you think about it? Can you see anything that may go wrong? Thanks for any ideas, Dashamir Matthew Grooms wrote: > Heinrich Rebehn wrote: >> Hi all, >> >> I am a new user of the VPN Client for Windows and i have 2 questions: >> >> - How can i automatically start a tunnel at boot (or login) time? > > Create a shortcut to the ipsecc.exe program and place it in the startup > folder. Here are the command line options available ... > > ipsecc -r "name" [-u <name>][-p <pass>][-a] > -r site configuration name > -u connection user name > -p connection user password > -a auto conenct > >> - Can i run several tunnels simultaneously (with different policies)? >> > > Yes you can. However, there are a few caveats ... > > 1) Only a single DNS server will be active at a time > 2) Your policies must be made to not overlap each other > >> Thank you in advance, >> >> Heinrich Rebehn >> > > No problem. > > -Matthew Has anyone tried to install ipsecc as a service that is activated at boot time? -Heinrich
vpn_connect_cs.sh
Description: Bourne shell script
srv_vpn_connection.sh
Description: Bourne shell script
_______________________________________________ vpn-help mailing list vpn-help@lists.shrew.net http://lists.shrew.net/mailman/listinfo/vpn-help