[vpn-help] Starting tunnels automatically at boot time

Dashamir Hoxha dashohoxha at gmail.com
Wed Feb 24 10:29:41 CST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vpn_connect_cs.sh
Type: application/x-sh
Size: 4689 bytes
Desc: not available
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20100224/9ac72a1c/attachment-0002.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: srv_vpn_connection.sh
Type: application/x-sh
Size: 1347 bytes
Desc: not available
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20100224/9ac72a1c/attachment-0003.sh>


More information about the vpn-help mailing list