From: Owner on 2 Apr 2010 20:24 This is current setting internet -- linux -- AP -- host 10.1.1.52 (which i'm configuring) iptables -t nat -A POSTROUTING -s 10.1.1.0/24 -o eth0 -j MASQUERADE iptables -A FORWARD -s 10.1.1.0/24 -o eth0 -j ACCEPT iptables -A FORWARD -d 10.1.1.0/24 -m state --state ESTABLISHED,RELATED -i eth0 -j ACCEPT openning port 59527 for bittorrent on host 10.1.1.52 iptables -t nat -A PREROUTING -p tcp --dport 59527 -j DNAT --to-destination 10.1 ..1.52 iptables -A FORWARD -s 10.1.1.52 -p tcp --dport 59527 -j ACCEPT problem lines iptables -t nat -A PREROUTING -p tcp --dport 4000 -j DNAT --to-destination 10.1.1.52 iptables -t nat -A PREROUTING -p tcp --dport 6112:6119 -j DNAT --to-destination 10.1.1.52 iptables -A FORWARD -s 10.1.1.52 -p tcp --dport 4000 -j ACCEPT iptables -A FORWARD -s 10.1.1.52 -p tcp --dport 6112:6119 -j ACCEPT everytime i tried to connect battle.net with warcraft III it hangs Can anyone figure out why from commends above?
|
Pages: 1 Prev: openning port for battle.net with iptables Next: TCP packet size is much smaller than expected |