[Bug 771148] Re: redirect-gateway fails when default route does not use a gateway

Andreas Oberritter 771148 at bugs.launchpad.net
Tue Apr 26 14:12:56 UTC 2011


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
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/771148

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



More information about the Ubuntu-server-bugs mailing list