I am trying to set up a VPN where my server
is at 216.xxx.yyy.234.
My router redirects 216.xxx.yyy.234 to local
IP 192.168.2.234
I have 3 NICs on the server. One is at
192.168.2.234, one at 192.168.2.235 and one at 192.168.2.237.
The remote client is using this script:
remote 216.17.171.234 ( XP pro SP2 )
dev tun
port 80
ifconfig 10.3.0.2 10.3.0.1
secret static.key
the server script is: ( WIN2000
SP4 )
dev tun
port 80
ifconfig 10.3.0.1 10.3.0.2
secret static.key
Q1: How does openVPN choose the NIC that it
is going to use on the server ?
By default OpenVPN will bind to all interfaces (more accurately, the
0.0.0.0 address which accepts connections from any interface.) This
isn't a problem unless you want to free up that port on another IP
address or you don't want it to listen on all interfaces. With a
firewall this last consideration isn't a problem since the firewall
should block ports by default.