On 10/13/2014 13:47, Alexander Pyhalov wrote:
Hello.
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
.
Hello.
I've sent two patches (from apyha...@gmail.com address) against 2.3 and
master branch), correcting to the list, implementing
get_default_gateway() for Solaris / illumos platforms. Are there any
issues with them?
--
С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ