Comment 2 for bug 771148

Revision history for this message
Andreas Oberritter (mtdcr) wrote :

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