Hi Andres,

yes, OpenVPN needs a default route, and that route already exists. But
you're mixing up route and gateway. PPP by definition does not need to
specify a gateway, because all packets travel through the peer.

To function properly, OpenVPN should create a host route through ppp0.
To do this, no gateway IP address is required at all. E.g. if your
OpenVPN-server's address is 1.2.3.4, then the client should create a
route like "ip route add 1.2.3.4/32 dev ppp0" instead of "ip route add
1.2.3.4/32 via $GATEWAY dev ppp0".

Of course, there are numerous ways to workaround this problem, but I'm
more interested in solutions which work out of the box.

Regards,
Andreas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/771148

Title:
  redirect-gateway fails when default route does not use a gateway

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

Reply via email to