I'm trying to limit P2P traffic for my network.
Tried few tricks from the manual & forums but didn't work.
following is the mangle rule i'm currently used:
Code: Select all
1 chain=postrouting action=mark-connection new-connection-mark=P2P Conn passthrough=yes p2p=all-p2p
2 chain=prerouting action=mark-packet new-packet-mark=P2P passthrough=yes connection-mark=P2P Conn
Code: Select all
2 name="P2P" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=P2P direction=both priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0
total-queue=default-small
There are "P2P Conn" in firewall connections list.
But though, 'without' using mangle rule, the P2P (NOT "P2P Conn") were also shown in firewall connections P2P as well
(bit-torrent, e-donkey etc) ... I'm Confused!
I'm using 2.9.45
Thanks for the kind help.