This script create rule mangle and Queue Three at Mikrotik
##### Script Mangle ##################
:for e from 2 to 11 do={
/ip firewall mangle add chain=prerouting src-address=(192.168.224. . $e) action=mark-connection new-connection-mark=($e . indosatcon )
/ip firewall mangle add chain=prerouting connection-mark=($e . indosatcon ) action=mark-packet new-packet-mark=($e . indosatflow ) passthrough=no
}
################################
##### Scrip Queeus #################
:for e from 2 to 11 do={
/queue tree add name=(”STREAM-DOWN-” . $e) parent=STREAM-DOWN packet-mark=($e . indosatflow)
/queue tree add name=(”STREAM-UP-” . $e) parent=STREAM-UP packet-mark=($e . indosatflow)
}
###############################
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment