Still VPN routing problems



I posted a while back about routing problems when using a VPN over mobile broadband. I've just been trying the most recent builds on launchpad (two of them), and the routing setup has changed, but it's still not quite right.

Both builds do the same thing - here are the routes for the PPP connection, and then PPTP over PPP.

PPP only:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.37.79.0      0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 ppp0
0.0.0.0         10.37.79.0      0.0.0.0         UG    0      0        0 ppp0

PPTP over PPP
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.7.128   10.37.69.0      255.255.255.255 UGH   0      0        0 ppp0
10.37.69.0      0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
82.153.174.82   10.37.69.0      255.255.255.255 UGH   0      0        0 ppp0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp1

10.37.79.0 is the PPP peer for the session, 82.153.174.82 is the public address of the VPN host, and 192.168.7.128 is its internal address within the VPN. The 3rd route entry above in PPTP mode was previously missing (provides the route for PPTP to send its packets to the server), so this is good.

However, the first entry is wrong, and should not be there. The address 192.168.7.128 only exists within the VPN, so can't possibly be routed over the PPP gateway. With this route present, the VPN won't work, but if this route is deleted after the VPN is established, all hosts on the VPN can be contacted as expected.

The two launchpad builds I used are:

<https://launchpad.net/~network-manager/+archive>
- I upgraded all the NM components with these versions

<https://launchpad.net/ubuntu/+source/network-manager-pptp/0.7~~svn20081015t024626-0ubuntu1.8.10.1/+build/792016>
- I installed this over the top (apt says it's an earlier version, although it's a later date). This is dated 20 Nov, so I'm assuming there have been no fixes since?

HTH, Rick

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]