Intrepid regression: default route is no longer redirected over VPN tunnel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Fix Released
|
Medium
|
|||
network-manager-openvpn (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Intrepid |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: network-
My employer's OpenVPN server has the setting «push "redirect-gateway"» set in its configuration file. This is supposed to cause the clients to change their default route to go via the tunnel.
This worked fine in Hardy. In Intrepid, not so.
Output from «ip r» before starting the VPN tunnel:
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.51
default via 10.0.0.1 dev wlan0 proto static
...and after:
10.8.0.5 dev tun0 proto kernel scope link src 10.8.0.6
11.22.33.44 via 10.0.0.1 dev wlan0 proto static
10.8.0.1 via 10.8.0.5 dev tun0 proto static
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.51
default via 10.0.0.1 dev wlan0 proto static
(11.22.33.44 = my employer's VPN gateway.) Since the default route is not redirected, the tunnel won't be used at all (except for to the OpenVPN gateway itself, 10.8.0.1 and 10.8.0.5).
I believe it stopped working after upgrading to NM0.7, so I'm submitting the bug on this package (I'm not ruling out the possibility of the regression being in OpenVPN itself, though). I've attached the syslog output from when the tunnel is set up. One line stands out:
Sep 11 18:51:27 envy nm-dispatcher.
I added the following two lines (at the top) to capture some debug output from this script:
exec > /tmp/log 2>&1
set -x
The following ended up in /tmp/log:
+ [ -z tun0 ]
+ export IFACE=tun0
+ export LOGICAL=tun0
+ export ADDRFAM=
+ export METHOD=
+ export VERBOSITY=0
+ echo /etc/NetworkMan
/etc/NetworkMan
+ exit 1
I'll be happy to provide you with any other information you'd require.
Tore
Changed in network-manager-openvpn: | |
status: | Incomplete → New |
Changed in network-manager-openvpn: | |
importance: | Undecided → Medium |
Changed in network-manager: | |
status: | Unknown → Fix Released |
Changed in network-manager: | |
importance: | Unknown → Medium |
On Thu, Sep 11, 2008 at 05:16:49PM -0000, Launchpad Bug Tracker wrote:
> I believe it stopped working after upgrading to NM0.7, so I'm submitting
> the bug on this package (I'm not ruling out the possibility of the
> regression being in OpenVPN itself, though). I've attached the syslog
> output from when the tunnel is set up. One line stands out:
Are you using NM 0.7 VPN packages or configure that outside of NM?
status incomplete
- Alexander