Hi Arne,
Arne Schwabe wrote:
Am 11.07.14 10:51, schrieb Jan Just Keijser:
On 11/07/14 10:00, Philipp Hagemeister wrote:
On modern systems, topology subnet should always be set, but it's
missing in the configuration file.
Add it with a short explanation.
NACK
There are a few annoying issues with
topology subnet
esp when using server side things like
route <remote subnet> <mask>
that will *fail* with 'topology subnet' ; until this is fixed this
should NOT be considered the default.
I am confused here, route <remote subnet> <mask> would expand to
route <remote subnet> <mask> remote_gw in p2p, net30 and subnet
toplogy. And that should work in all topology modes. What am I missing
here?
this is a long standing bug, check out the recent thread on the
openvpn-users mailing list
Re: [Openvpn-users] ping tests mostly work. all OK, except
Server->Client private IP. *almost* there!
On Mon, Jul 07, 2014 at 11:41:31AM -0700, pg0...@fastmail.fm wrote:
> Switching back to `verb 3`, @Server log on server START
>
> (not SUPPOSED to be wrapping, at least it doesn't in the web editor --
> just in case: http://pastebin.com/KmChijWX )
"Wrapped like hell". Is there no way to do attachments in the web thingie?
Anyway:
> there's a suspect problem
>
> Mon Jul 7 10:52:42 2014 OpenVPN ROUTE: OpenVPN needs a gateway
> parameter for a --route option and no default was specified by
> either --route-gateway or --ifconfig options
> Mon Jul 7 10:52:42 2014 OpenVPN ROUTE: failed to parse/resolve
> route for host/network: 192.168.1.0
>
> which looks like a possible culprit.
... indeed. This is, uh, stupid code, and I think we already have a trac
ticket for it...
> If yes, what's missing in OpenVPN config, and where?
--route 192.168.1.0 255.255.255.0 10.0.0.8
("just any IP address that's inside your tun subnet, and not the first").
This is really not *necessary*, but the way the code does tun & tap and
net30 & subnet, it gets confused about things. Needs fixing, sorry for
that.
so in some cases a server-side statement
route 192.168.1.0 255.255.255.0
works fine with 'topology net30' but NOT with 'topology subnet'.
This is a long standing bug that needs to be fixed before we can forcefeed
everybody 'topology subnet'.
JJK