Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. :for e from=1 to=254 do={
  2. /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"
  3. /ip firewall mangle add chain=prerouting connection-mark="conn-userPst$e" protocol=!1 action=mark-packet new-packet-mark="flow-userPst$e" passthrough=no
  4. }
  5.  
  6.  
  7. :for e from=1 to=254 do={
  8. /queue tree add name="down-user-$e" parent=DOWN-STREAM limit-at=32k max-limit=64k packet-mark="flow-userPst$e"
  9. /queue tree add name="up-user-$e" parent=UP-STREAM limit-at=32k max-limit=64k packet-mark="flow-userPst$e"
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement