Comment 8 for bug 194487

Revision history for this message
David Miller (david3d) wrote : Re: OpenVPN 2.1_Rc7: Does not route properly in Ubuntu 8.04

Sorry for the delay here's my routing tables but first a little background info. The vpn is supposed to push two routes to the client. A route to the companies mail server and a route to the local LAN.

Connected via the command line.....vpn connection works correctly.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
mail.domain.com 172.20.1.129 255.255.255.255 UGH 0 0 0 tap0
172.20.1.128 * 255.255.255.128 U 0 0 0 tap0
172.20.0.0 172.20.1.129 255.255.255.0 UG 0 0 0 tap0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default DD-Internet.hom 0.0.0.0 UG 0 0 0 wlan0

Connected via network-manager-openvpn plugin. Here you can see we are not getting any routes from the vpn server and the tap interface is now the default gateway.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
vpn.domain.com 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default * 0.0.0.0 U 0 0 0 tap0