[Openvpn-devel] NAT client-ip

2020-09-13 Thread Rafael Gava
Hello guys, A couple years ago I submitted this patch which allows the user to set the 'client-ip' as a convenient way to use the leased IP address received from OpenVPN server in NAT configuration. For example: client-nat snat client-ip 255.255.255.255 172.20.1.15 , where 'client-ip' string is

[Openvpn-devel] [PATCH v3] Add DNS SRV remote host discovery support

2020-09-13 Thread Vladislav Grishenko
DNS SRV host discovery allows to have multiple OpenVPN servers for a single domain w/o explicit profile enumeration, to move services from host to host with little fuss, and to designate hosts as primary servers for a service and others as backups. Feature has been asked several times already, usef

Re: [Openvpn-devel] [PATCH] Fix --show-gateway for IPv6 on NetBSD/i386.

2020-09-13 Thread Arne Schwabe
Am 13.09.20 um 16:56 schrieb Gert Doering: > Our ROUNDUP() macro to achieve the required system-specific alignment > for data structures sent to the routing socket was wrong for NetBSD - > unlike OpenBSD/FreeBSD, NetBSD is not using "long" (32/64 bit depending > on OS architecture), and not "uint32

[Openvpn-devel] [PATCH] Fix --show-gateway for IPv6 on NetBSD/i386.

2020-09-13 Thread Gert Doering
Our ROUNDUP() macro to achieve the required system-specific alignment for data structures sent to the routing socket was wrong for NetBSD - unlike OpenBSD/FreeBSD, NetBSD is not using "long" (32/64 bit depending on OS architecture), and not "uint32_t" either (32/32) like MacOS, but uint64_t. So ou