Hi,

On Thu, Jan 19, 2017 at 02:42:18PM +0100, Thomas Schäfer wrote:
> > In case "def1" is not enough, please try "redirect-gateway def1 local",
> > which is a hack (but a documented one).  "local" signals "do not install
> > a host route pointing to the default gateway, because the VPN server is
> > in the same locally connected network" (think "university wifi").  So that
> > should make things succeed.
> This did not work. Same error as before.

This is a bit annoying.  It does not need the default gateway when it's
not going to use it.  *Flag as bug*.

> > If that is still not working, use brute force, and replace 
> > "redirect-gateway"
> > with
> >
> >   route 0.0.0.0/1
> >   route 128.0.0.0/1
> 
> This leads to:
> 
> Thu Jan 19 14:10:43 2017 RESOLVE: Cannot resolve host address: 
> 128.0.0.0/1: (Name or service not known)

Uh.  Sorry.  Forgot that this is still netmask-land.

> But
> 
> route   0.0.0.0 128.0.0.0
> route 128.0.0.0 128.0.0.0
> 
> works.

This is how the syntax should be.  Thanks for testing, happy to finally
reach a working solution :-) - and I'll put "rework that v4 stuff" on my
limitless TODO list...

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to