Public bug reported:

with a precise server (openvpn 2.2.1-8ubuntu1.2) and trusty client
(2.3.2-7ubuntu3):

In the config, I had:

push "route xx.xx.xx.xx 255.255.255.255 net_gateway"
push "route yy.yy.yy.yy 255.255.255.255 net_gateway"
(and another route for the /21 containing both of the hosts above).

When the vpn comes up (on 192.168.1.50, with gw 192.168.1.1), we wind up
with:

192.168.1.1 is routed dev tun0
xx.xx.xx.xx is routed via 192.168.1.1 dev tun0
yy.yy.yy.yy is routed via 192.168.1.1 dev eth0

(xx.xx.xx.xx is the endpoint for the vpn)

Clearly this is wrong.  If I only specify one IP (the vpn endpoint) via
net_gateway, everything works correctly.

lamont

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1317716

Title:
  net_gateway behaves poorly when used twice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1317716/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to