Hi all,
I have a /29 subnet of IP addresses from my provider. I have all 5 usable public IP addresses aliased to the public bge0 interface, as I am using jails on the host.
I have OpenVPN installed on the host, explicitly stating to listen on 1 IP address, but when I use a client to connect to the OpenVPN server, my public address randomly shown as one of my 5 useable addresses. NAT is being used for the VPN clients.
From /etc/rc.conf (IP addresses have been changed):
Is there a way to make sure it ONLY uses the .26 address?
Thanks,
James
I have a /29 subnet of IP addresses from my provider. I have all 5 usable public IP addresses aliased to the public bge0 interface, as I am using jails on the host.
I have OpenVPN installed on the host, explicitly stating to listen on 1 IP address, but when I use a client to connect to the OpenVPN server, my public address randomly shown as one of my 5 useable addresses. NAT is being used for the VPN clients.
From /etc/rc.conf (IP addresses have been changed):
Code:
ifconfig_bge0="inet 10.10.1.26 netmask 255.255.255.248"
ifconfig_bge0_alias0="inet 10.10.1.27 netmask 255.255.255.248"
ifconfig_bge0_alias1="inet 10.10.1.28 netmask 255.255.255.248"
ifconfig_bge0_alias2="inet 10.10.1.29 netmask 255.255.255.248"
ifconfig_bge0_alias3="inet 10.10.1.30 netmask 255.255.255.248"
Is there a way to make sure it ONLY uses the .26 address?
Thanks,
James