[vpnc-devel] Can't specify specific route
mkienenb at gmail.com
Fri Jul 8 20:25:03 CEST 2011
There may be easier ways to do it, but I do it with a script that I
run after I connect to the vpn:
sudo /sbin/route -v add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.2.1 dev tun0
sudo /sbin/route -v del default dev tun0
sudo /sbin/route -v add default gw 192.168.2.1 dev eth1
On Fri, Jul 8, 2011 at 2:08 PM, Richard Pickett
<richard.pickett at csrtechnologies.com> wrote:
> First, I want to say thanks for providing a great application - I use it
> regularly to connect to a cisco ASA and have found it invaluable.
> version: 0.5.3
> I'm using Ubuntu, which comes with Network Manager. Network Manager "wraps"
> around vpnc to allow a gui-interfaced connection to the vpn. All of that
> works good.
> In network manager I can specify that I only want certain IPs/routes to go
> down the vpn tunnel, and it configures routing for me correctly. Even when
> the cisco ASA tells it to send everything down the tunnel.
> But I'm not able to do that just using vpnc and the supplied vpnc script
> I even specify it in the conf, but it seems to ignore it:
> IPSEC target network 192.168.251.0/24
> Can anyone give me the correct configuration to send only the networks I
> specify down the tunnel?
> vpnc-devel mailing list
> vpnc-devel at unix-ag.uni-kl.de
More information about the vpnc-devel