50MBPS per user
/ip firewall address-list add address=192.168.155.0/24 list=local-addr add address=192.168.154.0/30 list=local-addr
/ip firewall mangle add action=mark-connection chain=prerouting comment="Mark-connection All Traffic 1" new-connection-mark="Con Entire Traffic" passthrough=yes src-address-list=local-addr add action=mark-connection chain=prerouting comment="Mark-connection All Oversea Traffic 2" connection-mark="Con Entire Traffic" dst-address-list=!local-addr new-connection-mark="Con Oversea" passthrough=yes add action=mark-packet chain=prerouting comment="Mark-packet All Oversea Traffic 3" connection-mark="Con Oversea" new-packet-mark="Oversea Traffic" passthrough=no add action=mark-packet chain=prerouting comment="Mark-packet Local Country Traffic 4" new-packet-mark="Local Network Traffic" passthrough=no
/queue type add kind=pcq name=LOCAL pcq-classifier=dst-address pcq-rate=50M
/queue simple add disabled=yes name=OVERSEA packet-marks="Oversea Traffic" priority=1/1 target="" add name=LOCAL packet-marks="Local Network Traffic" queue=LOCAL/LOCAL target="" total-queue=default
No comments:
Post a Comment