HI
I have host in local network with ip 192.168.10.50
and I forward publick ip 100.100.100.3/25 to 192.168.10.50
iptables:
Quote:
/sbin/iptables -t filter -A FORWARD -s 192.168.10.50 -j ACCEPT
/sbin/iptables -t filter -A FORWARD -d 192.168.10.50 -j ACCEPT
/sbin/iptables -t nat -A POSTROUTING -s 192.168.10.50 -j SNAT --to 100.100.100.3
/sbin/iptables -t nat -A PREROUTING -d 100.100.100.3 -j DNAT --to 192.168.10.50
|
Everything works fine bun I can't ping in the same subnet(100.100.100.0/25) where is using 100.100.100.3
Where could be problem?
Thanks