Community discussions

MikroTik App
 
Gradius
just joined
Topic Author
Posts: 23
Joined: Tue Aug 09, 2005 6:06 pm
Location: Dallas, Texas

Port Blocking

Wed Oct 05, 2005 10:30 pm

I have issued this command to my router in hoped to block the default Gnutella ports to prevent filesharing on this network.


add chain=forward in-interface=client out-interface=client src-address=0.0.0.0 dst-address=0.0.0.0 protocol=udp src-port=6346-6350 \
dst-port=6346-6350 packet-mark="" action=drop comment=""


Is the correct command to block incoming and outgoing traffic through the router on ports 6346-6350?

Thanks in advance!
 
Borage
Member Candidate
Member Candidate
Posts: 170
Joined: Sun Sep 26, 2004 10:19 pm

Thu Oct 06, 2005 1:25 am

No, I think the right way would be something like this one. Correct me if I'm wrong.
/ ip firewall filter 
add chain=forward p2p=gnutella action=drop comment="" disabled=no
 
User avatar
maroon
Member Candidate
Member Candidate
Posts: 230
Joined: Thu Oct 07, 2004 11:15 am
Location: Lebanon
Contact:

Thu Oct 06, 2005 10:34 pm

hey Borage ur idea is correct

and if you know the ports of gnutela ... you can block it manually but try not to specify the interfaces ....

just add protcool: tcp dst-port: xxxx action drop in the forwward chain

Who is online

Users browsing this forum: DanMos79, mrshaba and 46 guests