I have 2 interfaces, first to isp(name=inet), second to lan.on lan interface are 3 ip addresses(3 subnets).i want to allow unlimited p2p speed beetwen my clients and limit all other (incoming and outgoing from/to internet) p2p to 70 mbps down and 50 mbps up.Version 2.9.18.
Here is my config:
/ ip firewall mangle
add chain=prerouting p2p=all-p2p action=mark-packet new-packetmark=p2p passthrough=yes comment="mark all p2p" disabled=no
/ queue simple
add name="queue1" dst-address=0.0.0.0/0 interface=inet parent=none packet-marks=p2p direction=both priority=8 queue=default-small/default-small limit-at=0/0 max-limit=50000000/70000000 total-queue=default-small disabled=no