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

2012-05-13 Thread TJ
I agree with Andreas; this is a bug in openvpn. I have local office gateway servers with an internal PCI ADSL modem that runs embedded Linux and is configured in RFC 1483 LLC Bridge mode. The Host PC uses PPPoE to connect to the ISP via the embedded ADSL modem over the single ATM LLC available

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

2012-05-13 Thread TJ
I've attached the shell script for PPP so it can be downloaded. It should be put in the directory /etc/ppp/if-up.d/ and given execute permissions: sudo mv ~/Downloads/default-gateway /etc/ppp/if-up.d/ sudo chmod +x /etc/ppp/if-up.d/default-gateway ** Attachment added: PPP default-gateway script

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

2012-05-13 Thread TJ
I've added the PPP package to this bug since it would the appropriate place to ship the workaround and, as far as I can see, shouldn't upset any existing PPP configurations. It would actually save our users a lot trouble especially for those using portable devices over public WiFi or cellular

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

2012-05-13 Thread TJ
Correction! I mistyped the PPP directory name as iF-up.d when it should be iP-up.d. The instructions should be: I've attached the shell script for PPP so it can be downloaded. It should be put in the directory /etc/ppp/ip-up.d/ and given execute permissions: sudo mv ~/Downloads/default-gateway

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

2011-04-26 Thread Bug Watch Updater
** Changed in: openvpn (Debian) Status: Unknown = New -- 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

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

2011-04-26 Thread Andres Rodriguez
Hi Andreas, Thank you for taking the time to report bugs and trying to make Ubuntu Server better. Unfortunately, this doesn't really seem like a bug of OpenVPN but rather ppp is probably not setting the default gateway when it should. Reading [1], we can confirm that OpenVPN *needs* the default

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

2011-04-26 Thread Andreas Oberritter
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