I tried to make some rules for limiting p2p,http,and other protocols,and i messed up all.
Now i want only to limit p2p in the simpliest way:
i added simple queue
set target upload and download to 256k
P2P=all p2p
interface=interface where accepting pppoe and pptp connections
i didn’t set target address,queue type,packet mark,parent,dst address…because i don’t know what to put there
…and it is not working not limiting nothing
so i need someone to write me how to limit p2p and what i doing wrong in this setting.
P2P can create alot of connections. I’m not a big fan of allowing any P2P because of this on a wireless network. Also what version of router OS are you running?
/ ip firewall mangle
add chain=forward protocol=tcp connection-limit=130,32 action=log
log-prefix=“Ex-Con” comment=“Log and add-src-addr Too Many Connections” disabled=no
Can i somehow make some rule on mikrotik that will do the following thing:
let’s say i want only 2 mbps of the entire network to go to p2p,and the rest to other protocols?
i use this queue to limit p2p by username,but when that user reconnect, queue for that user say: “interface=all not pppoe-username” and i always must create new queue for that user to limit his/her p2p traffic again and again…Can i somehow bind limit to dynamic queues?
all my queues are dynamic assigned by radius server on linux expect p2p filter.
i don’t know what i’m doing wrong?
Thanks!