You are not logged in.

#1 2015-03-08 05:43:44

insequent
Member
Registered: 2012-07-10
Posts: 3

Cannot change default route after connected to VPNC

Hey All,

I'm having the weirdest issue, and alas, Google is failing me on this one. Once I connect to VPNC connection using NetworkManager, I can no longer edit my default route. I don't get an error, but it looks like something is automatically rewriting my defaults. For instance:

__________________________________________
[# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     50     0        0 tun0
0.0.0.0         192.168.199.1   0.0.0.0         UG    600    0        0 wlp2s0
10.12.232.0     0.0.0.0         255.255.254.0   U     0      0        0 tun0
10.12.232.0     0.0.0.0         255.255.254.0   U     50     0        0 tun0
public_ip    192.168.199.1   255.255.255.255 UGH   600    0        0 wlp2s0
192.168.199.0   0.0.0.0         255.255.255.0   U     0      0        0 wlp2s0
192.168.199.0   0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0
# route del default dev tun0
# route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     50     0        0 tun0
0.0.0.0         192.168.199.1   0.0.0.0         UG    600    0        0 wlp2s0
10.12.232.0     0.0.0.0         255.255.254.0   U     0      0        0 tun0
10.12.232.0     0.0.0.0         255.255.254.0   U     50     0        0 tun0
public_ip    192.168.199.1   255.255.255.255 UGH   600    0        0 wlp2s0
192.168.199.0   0.0.0.0         255.255.255.0   U     0      0        0 wlp2s0
192.168.199.0   0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0
__________________________________________

Notice that there's no errors, however nothing changes. Adding in new default routes behaves the same way, still no error, but nothing changes. Checking the logs, I do see some activity:

Mar 08 05:17:31 kernel: userif-2: sent link down event.
Mar 08 05:17:31 kernel: userif-2: sent link up event.

So I *believe* my changes are taking effect, however something is changing them back almost immediately. I can only assume it's NetworkManager trying to "help" me out, but I don't know of any way to stop it from doing this.

Any help is appreciated.

Currently installed packages:

linux 3.18.6-1
networkmanager 1.0.0-2
networkmanager-vpnc 1.0.0-1

Last edited by insequent (2015-03-08 05:46:47)

Offline

Board footer

Powered by FluxBB