Reply To: Different public source IPs from NAT’ed internal servers?

Home Page Forums Network Management Networking Different public source IPs from NAT’ed internal servers? Reply To: Different public source IPs from NAT’ed internal servers?

#47367

OK I have added the iptables line in to ‘NAT/Virtual Server Scripts’ – hit test & restarted the box also. However, when checking the external IP of the internal server on 192.168.0.2 – I’m still not getting the correct x.x.x.2 IP coming up – I’m still getting the first external IP which is x.x.x.1.

From IPTABLES – this shows that the scripted rule is in there (see bold)

Any ideas?

Cheers,

Jeff

>>>>>>>>>>>>>>>>>>>>>>>>>

Chain POSTROUTING (policy ACCEPT 6 packets, 698 bytes)
pkts bytes target prot opt in out source destination
303 21842 SNATVS all — * * 0.0.0.0/0 0.0.0.0/0
295 21051 MASQUERADE all — * ETH00 0.0.0.0/0 0.0.0.0/0
0 0 MASQUERADE all — * ETH02.252 0.0.0.0/0 0.0.0.0/0
0 0 MASQUERADE all — * ETH02.253 0.0.0.0/0 0.0.0.0/0
0 0 SNAT all — * * 192.168.0.2 0.0.0.0/0 to:x.x.x.2
8 791 OpenVPN all — * * 0.0.0.0/0 0.0.0.0/0