Quote:
Originally posted by david_ross
Just use:
iptables -A FORWARD -p tcp -i ethX -d your.int.ip.addy --dport 1256 -j ACCEPT
Replace ethX with your external/public device and your.int.ip.addy with the address of your windows box.
|
You forgot prerouting too lol
iptables -t nat -A PREROUTING -p tcp -i ethX --dport 1256 -j DNAT --to-destination your.int.ip.addy:1256