I'm doing a program that autoconfigure a VPN connection to my University
(using gconf). This program have two options:

1) The openvpn connection will route addresses from localhost to my university 
using the VPN tunnel (for example 10.23.0.0/16). That means I will route my 
webserver (10.23.0.1) but no google, for example.
2) The openvpn connection will route all address using the VPN tunnel.

We are not sending address routes from openvpn server, there are static
in n-m-openvpn configuration.

I have no problem with the first option, but with the second I'm doing
this (with ip command):

ip route add 0.0.0.0/1 dev tun0
ip route add 128.0.0.0/1 dev tun0

It's a kind of default route to openvpn server, but the more specific
routes continues working (to the local client network, to the local
ADSL/cable route, etc).

Whatever, that's is a legal route, and I can't understand why network-
manager decides for me that it's wrong.

Have a nice Halloween :)

-- 
I can't add a 0.0.0.0/1 route
https://bugs.launchpad.net/bugs/290889
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