Can anyone help me to create queue in which I put adresses from 192.168.0.0/24 class? Queue should block user(one IP) when he make more then 100 connections per seconds ? Is it possible to block connections when one IP create 100 connections ?
When someone run P2P program he create many connections and then ma VoIP services have poor quality. I think better solution to block P2P is to limit maximum number of connections then speed connection.
But is it possible to block number of connections ?
Can anyone help me to create queue in which I put adresses from 192.168.0.0/24 class? Queue should block user(one IP) >when he make more then 100 connections per seconds ? Is it possible to block connections when one IP create 100 >connections ?
It is possible to limit the number of TCP connections.
It is possible to drop p2p traffic.
It is possible to assign highest priority to the VoIP traffic over P2P traffic.
This is a example how to QoS P2P traffic:
/ip firewall mangle add chain=forward connection-mark=!p2p_conn action=mark-packet new-packet-mark=other
/ip firewall mangle add chain=forward p2p=all-p2p action=mark-connection new-connection-mark=p2p_conn
/ip firewall mangle add chain=forward connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p
/queue tree add parent=ether1 packet-mark=p2p limit-at=32000 max-limit=100000 priority=8
/queue tree add parent=wlan05 packet-mark=other limit-at=1000000 max-limit=100000000 priority=1
I want to limit P2P traffic for all users is it good solution ? What should I consider if I have VoIP in my network ? If i mark in one router to VoIP have higher priority what should I setup on other router ?
Is it possible to automatic classifiy VoIP trafic as P2P is ? Is it bulit in mikrotik router ?