Hi there, I need to forward all tcp packets with port 25 (SMTP) from
Internet to machine in my network. My settings (eth0 = internet IP, eth1 =
192.168.200.1 - dmz IP connected to another machine with Postfix, eth2 =
192.168.0.1 – gateway - LAN). Have opened port 25 and setup rule : iptables –t nat –A PREROUTING –p tcp
–dport 25 – i eth0 –j DNAT –to 192.168.200.2:85 iptables –A FORWARD –i eth0 –p tcp
–d 192:168.200.2 –dport 25 –m state –state
NEW,ESTABLISHED,RELATED –j ACCEPT But it still doesn´t route tcp packets on port 25 to my
Postfix computer :o( If I try telnet 192.168.200.2 25 from FW it works, if I
try this from Internet, it doesn´t work :o( Any ideas ? Thanks a lot… Stan. |