Hello,
I am using OpenVPN 2.3.5 on CentOS 6.7 x86_64.
Until today I've been using simple masquerading to NAT a private VPN:
iptables -t nat -A POSTROUTING -s 10.10.112.0/24 -o eth0 -j MASQUERADE
and it was working fine.
We have now decided to offer a range of 6 public IP Addresses to
connected hosts, so we have changed the above rule to:
iptables -t nat -A POSTROUTING -o eth0 -s 10.10.112.0/24 -j SNAT
--to-source 194.xxx.xxx.150-194.xxx.xxx.155
but we now see that only the last ip address is used by connected
clients: 194.xxx.xxx.155
Can you please help me understand why this happens and how can I correct
it to use the whole range? Each connecting client should be using the
next public IP Address than the one assigned to the previous connected user.
Please advise.
Thanks in advance,
Nick
------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users