Doesn't work yet for me. Right now I'm in debian (as I have tons of
troubles with the wifi since intrepid) but I have my installation
replicated and functional in jaunty, both of which share the home.
Packages are the same: 0.7.0ubuntu1 and 0.7.0-1 in debian's case.

Trouble in my case is that the server pushes a route, *but* the client
sets it as the default one. I've tried the four combinations among
"automatic (VPN) / Only automatic addresses (VPN)" and the "ignore
automatically obtained routes" toggle. In *all* of them the default
route is changed to "default via 10.8.0.5 dev tun0  proto static" with
no other defaults, so it breaks for me as I get disconnected (which I
don't want: I just want to add an *extra* route to the VPN, which
works).


Server logs: 

2009-02-04T00:16:42.341625+01:00 localhost openvpn[24587]: 
Soporte_desde_el_port_xC3_xA1til/192.168.0.1:55916 PUSH: Received control 
message: 'PUSH_REQUEST'                                                
2009-02-04T00:16:42.341798+01:00 localhost openvpn[24587]: 
Soporte_desde_el_port_xC3_xA1til/192.168.0.1:55916 SENT CONTROL 
[Soporte_desde_el_port_xC3_xA1til]: 'PUSH_REPLY,route 10.8.0.1,ping 
10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5' (status=1)  

Correct, it pushes the route but has *not* a redirect-gateway directive.


If I do it by hand on the cli it works as well:

Wed Feb  4 00:24:56 2009 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Feb  4 00:24:56 2009 PUSH: Received control message: 'PUSH_REPLY,route 
10.8.0.1,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Wed Feb  4 00:24:56 2009 OPTIONS IMPORT: timers and/or timeouts modified
Wed Feb  4 00:24:56 2009 OPTIONS IMPORT: --ifconfig/up options modified
Wed Feb  4 00:24:56 2009 OPTIONS IMPORT: route options modified
Wed Feb  4 00:24:56 2009 ROUTE default_gateway=192.168.0.1
Wed Feb  4 00:24:56 2009 TUN/TAP device tun0 opened
Wed Feb  4 00:24:56 2009 TUN/TAP TX queue length set to 100
Wed Feb  4 00:24:56 2009 /sbin/ifconfig tun0 10.8.0.6 pointopoint 10.8.0.5 mtu 
1500
Wed Feb  4 00:24:56 2009 /sbin/route add -net 10.8.0.1 netmask 255.255.255.255 
gw 10.8.0.5
Wed Feb  4 00:24:56 2009 Initialization Sequence Completed

which *leaves* as is my default route.


Am I esentially misunderstanding this, or there *should* be a way of doing what 
I want? Intuitively, "accept routes" but "only automatic address" should add a 
route to the VPN but (as only automatic addresses are being used) should keep 
the default route untouched.

-- 
Intrepid regression: default route is no longer redirected over VPN tunnel
https://bugs.launchpad.net/bugs/269071
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to