[Bug 445695] [NEW] redirect-gateway does not work

Šarūnas Burdulis sarunas at mail.saabnet.com
Wed Oct 7 19:14:38 BST 2009


Public bug reported:

Binary package hint: openvpn

With 'redirect-gateway' option (either pushed from the server or in
local config) openvpn does not execute 'route del/add...' to change the
default route. Server and client configuration files attached. Below is
a comparison of client log files (grep for 'route').

Ubuntu 9.04, openvpn 2.1~11-1ubuntu3 (redirect-gateway works):
...
Wed Oct  7 10:46:58 2009 us=793182 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,dhcp-option DOMAIN nnn.nnn,dhcp-option DNS nnn.nnn.nnn.nnn ,dhcp-option DNS nnn.nnn.nnn.nnn ,route 10.7.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.7.0.10 10.7.0.9'
Wed Oct  7 10:46:58 2009 us=793461 OPTIONS IMPORT: route options modified
Wed Oct  7 10:46:58 2009 us=849128 /sbin/route add -net nnn.nnn.nnn.nnn netmask 255.255.255.255 gw 10.35.0.1
Wed Oct  7 10:46:58 2009 us=864304 /sbin/route del -net 0.0.0.0 netmask 0.0.0.0
Wed Oct  7 10:46:58 2009 us=866014 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.7.0.9
Wed Oct  7 10:46:58 2009 us=868045 WARNING: potential route subnet conflict between local LAN [10.7.0.0/255.255.255.0] and remote VPN [10.7.0.1/255.255.255.255]
Wed Oct  7 10:46:58 2009 us=868099 /sbin/route add -net 10.7.0.1 netmask 255.255.255.255 gw 10.7.0.9

Ubuntu 9.10b, openvpn 2.1~19-1ubuntu1:
...
Wed Oct  7 10:11:50 2009 us=470452 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,dhcp-option DOMAIN nnn.nnn,dhcp-option DNS nnn.nnn.nnn.nnn,dhcp-option DNS nnn.nnn.nnn.nnn,route 10.7.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.7.0.10 10.7.0.9'
Wed Oct  7 10:11:50 2009 us=474648 OPTIONS IMPORT: route options modified
Wed Oct  7 10:11:50 2009 us=599437 /sbin/route add -net nnn.nnn.nnn.nnn netmask 255.255.255.255 gw 10.0.2.2
Wed Oct  7 10:11:50 2009 us=631302 /sbin/route add -net 10.7.0.1 netmask 255.255.255.255 gw 10.7.0.9

ProblemType: Bug
Architecture: i386
Date: Wed Oct  7 13:33:36 2009
DistroRelease: Ubuntu 9.10
Package: openvpn 2.1~rc19-1ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.40-generic
SourcePackage: openvpn
Uname: Linux 2.6.31-12-generic i686
XsessionErrors:
 (gnome-settings-daemon:1323): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:1376): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1420): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
redirect-gateway does not work
https://bugs.launchpad.net/bugs/445695
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.



More information about the Ubuntu-server-bugs mailing list