Thu Mar 14, 2013 10:22 am
yes you can limiting p2p
pls follow the rules :
/queue simple
add name="main" target-addresses=192.168.0.0/24 max-limit=512000/512000
add name="http" parent=main packet-marks=http max-limit=256000/256000 priority=1
add name="p2p" parent=main packet-marks=p2p max-limit=56000/56000 priority=8
add name="other" parent=main packet-marks=other max-limit=200000/200000 priority=5
/ip firewall mangle
add chain=prerouting protocol=tcp dst-port=80 action=mark-connection new-connection-mark=http_conn passthrough=yes
add chain=prerouting connection-mark=http_conn action=mark-packet new-packet-mark=http passthrough=no
add chain=prerouting p2p=all-p2p action=mark-connection new-connection-mark=p2p_conn passthrough=yes
add chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p passthrough=no
add chain=prerouting action=mark-connection new-connection-mark=other_conn passthrough=yes
add chain=prerouting connection-mark=other_conn action=mark-packet new-packet-mark=other passthrough=no
*** Pls don't copy-paste, just use the rules ***
Best regards