Some thoughts below... -----Original Message----- From: Bo Berglund <bo.bergl...@gmail.com> Sent: Sunday, July 30, 2023 6:02 PM To: openvpn-users@lists.sourceforge.net Subject: Re: [Openvpn-users] How to write the iptables rules for a NIC with multiple IP addresses?
On Sat, 29 Jul 2023 14:11:48 +0000 (UTC), Jason Long via Openvpn-users <openvpn-users@lists.sourceforge.net> wrote: >How can OpenVPN recognize that the configuration files Server-1.conf, >Server-2.conf and Server-3.conf should be for IP address "1.2.3.4"? >Should I change the name of the NIC to the IP address? Server conf file options from the OpenVPN Reference Manual (which you should read as a start n my view): --local host Local host name or IP address for bind. If specified, OpenVPN will bind to this address only. If unspecified, OpenVPN will bind to all interfaces. _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users I would advice AGAINST using "host name". If DNS resolving temporariry fails during startup you're into trouble, while not if using hard IP-addresses. Also, if you have multiple IP-address tied to the URL, you are at the mercy of the DNS-resolver. Just my $0.02 Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users