Listen on multiple interfaces but not all
Hi,
is it possible for the Server part to listen on more than one specific interface but not on all interfaces?
e.g.
One Debian Server with several IPv4 and IPv6 addresses. Run the OpenVPN Server on one specific v4 and v6 address (local <IPv4> + local <IPv6>), so that I can use the remaining addresses for other VPN instances.
As yet on Debian 8 + OpenVPN 2.3.4 it is not possible, but maybe the development since then has made it possible?
The Changelog diddn't reveal that in particular.
Best regards,
Kor
Usually, you can bind to certain interface and forward packets by firewall from other interfaces
6 апр. 2017 г. 19:41 пользователь "Kor Korrd" <[email protected]...> написал:
Quoted 26 lines
Hi,
is it possible for the Server part to listen on more than one specific interface but not on all interfaces?
e.g.
One Debian Server with several IPv4 and IPv6 addresses. Run the OpenVPN Server on one specific v4 and v6 address (local <IPv4> + local <IPv6>), so that I can use the remaining addresses for other VPN instances.As yet on Debian 8 + OpenVPN 2.3.4 it is not possible, but maybe the development since then has made it possible?
The Changelog diddn't reveal that in particular.Best regards,
Kor------------------------------------------------------------
------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Quoted 11 lines · Илья Шипицин
Usually, you can bind to certain interface and forward packets by firewall from other interfaces
6 апр. 2017 г. 19:41 пользователь "Kor Korrd" <[email protected]... <mailto:kor.korrd%[email protected]...>> написал:
Hi,
is it possible for the Server part to listen on more than one specific interface but not on all interfaces?
No. Currently that is not possible in OpenVPN. Some of the core developers are looking into resolving this, but it has turned out to be quite hard to resolve and fix properly. So this is still being worked on, but we have no ETA for this.
What most users do is to listen to all interfaces and only open up the port in the firewalling. Some have chosen a different path using NAT to forward packets from one IP/interface to the one OpenVPN is listening too. But some have needed to also add --multihome in the OpenVPN to make this work.
For most of our OpenVPN users, only open up the OpenVPN port on specific interfaces/IP addresses in the firewall is more than good enough from a security perspective, and really simple to achieve without too much troubles. But YMMV.
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc