What's new

How can i Blocked P2P on my RT-N66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

HorstG

Occasional Visitor
Hello,
how can i block ALL P2P in the RT-N66U FW 374.32.

THX

Horst
 
You may try layer-7 filter which is included in asuswrt-merlin. Not sure it can be done from WebUI:
  1. load /lib/modules/2.6.22.19/kernel/net/netfilter/xt_layer7.ko module,
  2. write following iptables rule to post-firewall script:
    Code:
    iptables -I FORWARD -m layer7 --l7proto bittorrent -j DROP
 
Last edited:
Sorry can you me explane for an German Noob!:eek:

1. How i load "load /lib/modules/2.6.22.19/kernel/net/netfilter/xt_layer7.ko module," ?

2. How i am find the "post-firewall script" ????

3. Can i delete the "iptables -I FORWARD -m layer7 --l7proto bittorrent -j DROP"
if i have trouble.


Thank You...

Horst
 
Sorry can you me explane for an German Noob!:eek:

1. How i load "load /lib/modules/2.6.22.19/kernel/net/netfilter/xt_layer7.ko module," ?

2. How i am find the "post-firewall script" ????

3. Can i delete the "iptables -I FORWARD -m layer7 --l7proto bittorrent -j DROP"
if i have trouble.


Thank You...

Horst


1. insmod /lib/modules/2.6.22.19/kernel/net/netfilter/xt_layer7.ko
2. under /jffs/scripts (you may need to create one yourself)
3. yes, you can use -D. eg. iptables -D INPUT -s 127.0.0.1 -p tcp --dport 111 -j ACCEPT
 
was the /xt_layer7.ko module removed in the latest version? Can't seem to find it where expected. Trying to add layer 7 filtering for youtube. Not sure any other easy ways of going about it.
 
TY... any alternative ways to block layer 7 traffic that you guys can think off... i need ip targeted filtering :(
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top