Sorry for disturbing again. I investigated the problem a bit. Next my routes 
without VPN connection:
-----%<-----
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     2      0        0 wlan0
default         fritz.fon       0.0.0.0         UG    0      0        0 wlan0
-----%<-----

Here my routes when establishing the VPN connection and letting 
network-manager-openvpn manage the routes. Pinging Internet does not work with 
it:
-----%<-----
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
p549F6954.dip.t 192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
10.1.1.21       *               255.255.255.255 UH    0      0        0 tun0
192.168.1.0     *               255.255.255.0   U     2      0        0 wlan0
10.1.1.0        10.1.1.21       255.255.255.0   UG    0      0        0 tun0
default         10.1.1.21       0.0.0.0         UG    0      0        0 tun0
-----%<-----

And here my routes with the workaround described by Daniel. Pinging VPN LAN and 
Internet works with it:
-----%<-----
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
p549F6954.dip.t 192.168.1.1     255.255.255.255 UGH   0      0        0 wlan0
10.1.1.21       *               255.255.255.255 UH    0      0        0 tun0
bbec-server.bbe *               255.255.255.255 UH    0      0        0 tun0
192.168.1.0     *               255.255.255.0   U     2      0        0 wlan0
10.1.1.0        bbec-server.bbe 255.255.255.0   UG    1000   0        0 tun0
default         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
-----%<-----

My conclusion: the VPN server does not pass a default gw option but the
network-manager-openvpn sets it! It should not set a default gw if it is
not explecitly passed.

Hope this helps.

Greetings, Tobias

-- 
NetworkManager always overwrites default route when connecting to OpenVPN 
network 
https://bugs.launchpad.net/bugs/330833
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to