Operating System - Linux
1829463 Members
1514 Online
109991 Solutions
New Discussion

howto run 2 cisco vpn clients on the same machine at the same time ?

 
SOLVED
Go to solution
'chris'
Super Advisor

howto run 2 cisco vpn clients on the same machine at the same time ?

hi

is it possible to run 2 cisco vpn clients
on the same machine ?
both should be connected at the same time
to the different remote server.
I use vpnclient-linux-4.0.Rel-k9

kind regards
chris
4 REPLIES 4
Stuart Browne
Honored Contributor

Re: howto run 2 cisco vpn clients on the same machine at the same time ?

That, unfortunately, all depends on how they are configured, in particular, if they allow you access to your local at the same time.

If they do, you have a chance (assuming they don't cross IP's).

If they lock our access to your LAN, then not a chance.

It's a setting you can change on your local config, but is actually determined by the VPN server (can override your local settings, most annoyingly!).
One long-haired git at your service...
'chris'
Super Advisor

Re: howto run 2 cisco vpn clients on the same machine at the same time ?

thanks

but there is a script to keep the vpn client
up an running all the time:

----------------------------------------------------
#!/bin/sh

ps ax | grep vpnclient | grep -v grep

if [ "$?"!= "0" ] ; then

# restart PROCESS

/etc/init.d/vpnclient_init restart

fi

----------------------------------------------------

I've added this entries to/etc/rc.d/vpnclient_init

cp /etc/CiscoSystemsVPNClient/vpn.template /etc/CiscoSystemsVPNClient/Profiles/vpn.pcf
sleep 10
/usr/local/bin/vpnclient connect vpn & > /dev/null

but how will work with 2 vpn clients in my case?
I don't want to stop one and start another.
and both have to always run permanently.
any idea?

kind regards
chris
unknown_6
Advisor
Solution

Re: howto run 2 cisco vpn clients on the same machine at the same time ?

Greetings chris,
A great name you have (it's my name too).
In answer to:
"I've added this entries to/etc/rc.d/vpnclient_init

cp /etc/CiscoSystemsVPNClient/vpn.template /etc/CiscoSystemsVPNClient/Profiles/vpn.pcf
sleep 10
/usr/local/bin/vpnclient connect vpn & > /dev/null

but how will work with 2 vpn clients in my case?
I don't want to stop one and start another.
and both have to always run permanently.
any idea?"

It is easy. Simply:
ln -s /usr/local/bin/vpnclient /usr/local/bin/vpnclient2

Then simply copy the same script you are
already using and change the call to
vpnclient to vpnclient2. That's all there
is to it.

Hope you have fun,
Chris (unknown)
'chris'
Super Advisor

Re: howto run 2 cisco vpn clients on the same machine at the same time ?

thanks !