View Single Post
Posts: 79 | Thanked: 21 times | Joined on Sep 2007
#2
Hm, I also use vpnc and after vpnc connected, it sets the routing table as follows. I don't have to set up any routing by hand.

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.18.0.1      172.18.0.1      255.255.255.255 UGH   0      0        0 wlan0
172.18.0.0      *               255.255.0.0     U     0      0        0 wlan0
default         172.18.10.5     0.0.0.0         UG    0      0        0 tun0
default         172.18.0.1      0.0.0.0         UG    0      0        0 wlan0
I don't know if the duplicate default route is a potential problem, but actually it seems to work fine. Probably because the first default route is the one to the tunnel.