Hi I'm trying to redirect port 2211 to a computer on my LAN. The computer is receiving it's ip-address via dhcp with ddns. So it should be nice and easy, but it ain't working in PREROUTING, not even with the port number removed at the end of the address. I read something regarding the use of --string, but i couldn't get it working for me.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 2211 -j DNAT --to 172.16.0.30:2211 iptables -A FORWARD -i eth0 -p tcp --dport 2211 -d pc.utysket.dk -j ACCEPT Best Regards. /Lars -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

