redirect-gateway does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvpn (Ubuntu) |
Fix Released
|
Medium
|
Thierry Carrez | ||
Karmic |
Fix Released
|
Medium
|
Thierry Carrez |
Bug Description
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,
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.
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,
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
ProcVersionSign
SourcePackage: openvpn
Uname: Linux 2.6.31-12-generic i686
XsessionErrors:
(gnome-
(nautilus:1376): Eel-CRITICAL **: eel_preferences
(polkit-
Related branches
Changed in openvpn (Ubuntu Karmic): | |
assignee: | nobody → Thierry Carrez (ttx) |
Changed in openvpn (Ubuntu Karmic): | |
importance: | Low → Medium |
status: | Triaged → In Progress |
Hi,
Can you re-create the bug with a level 9 verbosity for openvpn and please attach both logs? Also can you describe how the steps you took to create the setup as well.
Thanks
chuck