Hello World (and people ;) ) Using Intrepid and trying to establish a VPN to my linux pptp server, I got some trouble with the routing table.
Before the connection, route -n gives : Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.123.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 0.0.0.0 192.168.123.254 0.0.0.0 UG 0 0 0 wlan0 This is correct as my private network is 192.168.123.0/24 and my wifi interface wlan0 Then after the connection, route -n gives : Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.10 192.168.123.254 255.255.255.255 UGH 0 0 0 wlan0 88.191.52.170 192.168.123.254 255.255.255.255 UGH 0 0 0 wlan0 192.168.123.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 In the IPv4 section, I let tried several options to ignore the automatic route changes ... without success. So I have to manually change the route as follows to enable access to my server through the vpn and access to internet through my lan: route del 192.168.1.10 route add 192.168.1.10 dev ppp0 route del -net 0.0.0.0 gw 0.0.0.0 dev ppp0 route add -net 0.0.0.0 gw 192.168.123.254 dev wlan0 It's working just as it should then we can remove the entry pointing to the server: route del 88.191.52.170 I can find a way to specify the interface in the routing section of the vpn configuration of NM ... did I miss something or is there a hidden feature ? Maybe a missing feature ? Anyway, I don't get it why the default gateway is re-routed through my ppp0 interface ... Does anyone have a clue ? Thanks a lot for your time, Nicolas -- PPTP plugin for network manager sets wrong routing table entries https://bugs.launchpad.net/bugs/113622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs