hello every1
i have a little linux box that do nat for some windows machines , in order to economize some debit i wanna block undeeded port such liike port used by kazaa and such ptp
for that i used this set of rules ;
[cote]
iptables - t nat -A POSTROUTING -s $LAN -p tcp --dport 1001:65000 -j DROP
iptables - t nat -A POSTROUTING -s $LAN -p tcp --dport 80 - ACCEPT
iptables - t nat -A POSTROUTING -s $LAN -p tcp --dport 25 - ACCEPT
iptables - t nat -A POSTROUTING -s $LAN -p tcp --dport 110 - ACCEPT
iptables - t nat -A POSTROUTING -s $LAN -p tcp --dport 1863 - ACCEPT
iptables - t nat -A POSTROUTING -s $LAN -p tcp --dport 5050 - ACCEPT
[/cote]
but this seems to dont work , the clients wasn't able to use any of the common programme they are used to use
i suppose i m using the wront chain , but need some advices to get this working , thus any help would be welcome