18 Feb
2004
18 Feb
'04
16:50
On Wed, 2004-02-18 at 13:37 -0300, Joni Hoppen wrote:
hi all
I need to block the port 4662 of emule. How can I do it on iptables? is it efficient to stop the trafic in my network?
To block incoming traffic to the router iptables -I INPUT -p tcp --destination-port 4662 -j DROP iptables -I INPUT -p udp --destination-port 4662 -j DROP to drop it from being forwarded to other machines on the network iptables -t nat -I PREROUTING -p tcp --destination-port 4662 -j DROP iptables -t nat -I PREROUTING -p udp --destination-port 4662 -j DROP