P2P connection limiting

hi
i want to limit p2p connections but it seems that it want work??

can someone give me a rule for that?

Try to add this simple queue:

add name="Peer to Peer 128K" target-addresses=0.0.0.0/0 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 queue=default/default limit-at=0/0 max-limit=128000/128000 total-queue=default p2p=all-p2p

This queue will limit to a max of 128K all the p2p..

Regards

thanx but how can i limit the connections, like only 25 connections to p2p

Yes I like to know that too

Like this in Queues Tree I heve limitad IP 192.168.1.50 band:64000/128000
so how can I limit IP 192.168.1.50 to have avelible 20 connections
Thanks

Maybe try something like:

chain=forward in-interface=Local protocol=tcp dst-port=1024-65535 connection-limit=20,32 action=drop