Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :for e from=1 to=254 do={
- /ip firewall mangle add chain=prerouting src-address="192.168.5.$e" action=mark-connection dst-address-list=!intranet new-connection-mark="conn-userPst$e"
- /ip firewall mangle add chain=prerouting connection-mark="conn-userPst$e" protocol=!1 action=mark-packet new-packet-mark="flow-userPst$e" passthrough=no
- }
- :for e from=1 to=254 do={
- /queue tree add name="down-user-$e" parent=DOWN-STREAM limit-at=32k max-limit=64k packet-mark="flow-userPst$e"
- /queue tree add name="up-user-$e" parent=UP-STREAM limit-at=32k max-limit=64k packet-mark="flow-userPst$e"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement