my DNAT not working...help
Hi my DNAT is no longer working?
This used to work on kernel 2.6.10 FC3, i am now running kernel 2.6.18 on CentOS5 due to hardware upgrade
These are my nat rules ..
iptables -t nat -A POSTROUTING -o eth1 -s 10.22.200.25 -j SNAT --to 172.15.0.15 iptables -t nat -A PREROUTING -i eth1 -d 172.15.0.15 -j DNAT --to 10.22.200.25
I can see my traffic getting natted to 172.15.0.15 but though a tcpdump but not back to 10.22.200.25 any ideas?
Hi,
maybe try
route add default gw 10.x.x.x .... what is default gateway for 10.22.200.25 host ( or for that network ) .....
please copy/paste route -n on host 10.22.200.25
Regards
Elvir Kuric
Quoted 18 lines · On 4/30/07, [email protected] <[email protected]> wrote:
Hi my DNAT is no longer working?
This used to work on kernel 2.6.10 FC3, i am now running kernel 2.6.18 on
CentOS5 due to hardware upgradeThese are my nat rules ..
iptables -t nat -A POSTROUTING -o eth1 -s 10.22.200.25 -j SNAT --to
172.15.0.15
iptables -t nat -A PREROUTING -i eth1 -d 172.15.0.15 -j DNAT --to
10.22.200.25I can see my traffic getting natted to 172.15.0.15 but though a tcpdump but
not back to 10.22.200.25
any ideas?