Comment 49 for bug 269071

Revision history for this message
Philip R (philiproesler) wrote :

Hi,
this is my first comment on launchpad.
I'm using Ubuntu 10.10 Maverick Meerkat, and this bug also occurs on my system. When checking "ignore autmatically obtained route" and "use this connection only for the resources on its network", the traffic for the vpn is routed through it to my company, while the internet-traffic is routed via my own vpn gateway. rout -n prints the following:

route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
134.91.225.10 10.0.0.1 255.255.255.255 UGH 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 tap0
10.0.0.0 0.0.0.0 255.0.0.0 U 1 0 0 eth0
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0

(as can be seen, 0.0.0.0 is routed via eth0)

if one or both of the checkboxes is not checked, the route looks like the following:

route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
134.91.225.10 10.0.0.1 255.255.255.255 UGH 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 tap0
10.0.0.0 0.0.0.0 255.0.0.0 U 1 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tap0

(here, 0.0.0.0 is routed via tap0, but with no gateway assigned.)
This does not work, as the only traffic possible is the internal traffic my companys network.

As well, setting a route manually in the vpn-config dialogue does not work, as it forgets the route when closing the dialogue.
So i found no possibility to route my internet-traffic through the VPN.