Hi, On Mon, Oct 13, 2014 at 01:47:50PM +0400, Alexander Pyhalov wrote: > In openvpn 2.3.4 on illumos/Solaris clients gateway for client can't be > determined, because default stub is used instead of > get_default_gateway() function. This means that the following push route > option in server config is not working: > push "route remote_host 255.255.255.255 net_gateway" > > OpenVPN client says that it doesn't know net_gateway. > The following patch mostly uses existing FreeBSD code to add > get_default_gateway() implementation: > https://github.com/pyhalov/oi-userland/blob/openvpn/components/openvpn/patches/get_default_gateway.patch > > .
Thanks. Feature-ACK, but... please rebase against git master, as the code in question looks quite a bit different now, after commit cab6305be749930eae9c4a1348fb90c4c515d8d7 Author: Gert Doering <g...@greenie.muc.de> List-Post: openvpn-devel@lists.sourceforge.net Date: Tue Jan 14 14:33:18 2014 +0100 Merge get_default_gateway() implementation for all 4+1 BSD variants. (maybe send both patches, against 2.3.4 and git master, as the code is really different enough that "git cherry-pick" won't work... that's what you get for cleaning up - more maintenance work!) Please then send to the list with "git-send-email" - our ACKing process works on what is here on the list, so "somthing on github" can't be properly archived. 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
pgpW_p2H6sdVq.pgp
Description: PGP signature