[plug] Port forwarding with Iptables
Nigel Duff
peregrin at iinet.net.au
Thu Oct 31 15:36:41 WST 2002
Hi all,
I am trying to forward edonkey ports from my firewall to a machine on my
internal network. I have played with different configurations but can't
get it to work. I have the following policy under a 2.4.19 kernal.
iptables -t nat -A PREROUTING -p tcp -s 0/0 -d 0/0 --destination-port
4660:4670 -j DNAT --to-destination 192.168.1.2:4660-4670
With a similar entry for UDP.
Can anyone point out me in the direction of my obvious mistake?
Thanks
Nigel
More information about the plug
mailing list