oggie
07-12-2007, 21:03
I have a server in my lan that I have set up as a file server and torrent server.
I have a html ui for the torrent on port 6886 that I want to make available externally.
I tried adding this to the post-firewall, but it's still not viewable externally:
iptables -I FORWARD -p tcp --dport 6886 -j ACCEPT
iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 6886 -j DNAT --to-destination 192.168.1.220
Any ideas why this didn't work?
I have a html ui for the torrent on port 6886 that I want to make available externally.
I tried adding this to the post-firewall, but it's still not viewable externally:
iptables -I FORWARD -p tcp --dport 6886 -j ACCEPT
iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 6886 -j DNAT --to-destination 192.168.1.220
Any ideas why this didn't work?