/ip firewall mangle
add action=mark-routing chain=prerouting comment="Routing 10.70.1.0/24" \
disabled=no new-routing-mark="Routing 10.70.1.0/24" passthrough=yes \
src-address-list="Routing 10.70.1.0/24"
add action=mark-routing chain=prerouting comment="Routing 10.70.2.0/24" \
disabled=no new-routing-mark="Routing 10.70.2.0/24" passthrough=yes \
src-address-list="Routing 10.70.2.0/24"
add action=mark-routing chain=prerouting comment="Routing 10.70.3.0/24" \
disabled=no new-routing-mark="Routing 10.70.3.0/24" passthrough=yes \
src-address-list="Routing 10.70.3.0/24"
add action=mark-routing chain=prerouting comment="Routing 10.70.4.0/24" \
disabled=no new-routing-mark="Routing 10.70.4.0/24" passthrough=yes \
src-address-list="Routing 10.70.4.0/24"
add action=mark-routing chain=prerouting comment="Routing 10.70.5.0/24" \
disabled=no new-routing-mark="Routing 10.70.5.0/24" passthrough=yes \
src-address-list="Routing 10.70.5.0/24"
add action=mark-connection chain=forward comment="Serfing(Download)" \
disabled=no dst-address-list=Serfing new-connection-mark=\
"Serfing(Download)-connection" out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment="Serfing(Upload)" disabled=\
no in-interface=vlan51 new-connection-mark="Serfing(Upload)-connection" \
passthrough=yes src-address-list=Serfing
add action=mark-packet chain=forward comment=\
"Serfing(Download), mark first bytes 0-500000" connection-bytes=0-500000 \
connection-mark="Serfing(Download)-connection" disabled=no \
dst-address-list=Serfing new-packet-mark=tcp-browse-dl out-interface=\
vlan51 passthrough=no protocol=tcp src-port=80,443
add action=mark-packet chain=forward comment="Serfing(Download) tcp-other-dl" \
connection-mark="Serfing(Download)-connection" disabled=no \
dst-address-list=Serfing new-packet-mark=tcp-other-dl out-interface=\
vlan51 passthrough=no protocol=tcp src-address=0.0.0.0
add action=mark-packet chain=forward comment="Serfing(Download) icmp-dl" \
connection-mark="Serfing(Download)-connection" disabled=no \
dst-address-list=Serfing new-packet-mark=icmp-dl out-interface=vlan51 \
passthrough=no protocol=icmp
add action=mark-packet chain=forward comment="Serfing(Download) udp-dl" \
connection-mark="Serfing(Download)-connection" disabled=no \
dst-address-list=Serfing new-packet-mark=udp-dl out-interface=vlan51 \
passthrough=no protocol=udp
add action=mark-packet chain=forward comment="Serfing(Download) other-dl" \
connection-mark="Serfing(Download)-connection" disabled=no \
dst-address-list=Serfing new-packet-mark=other-dl out-interface=vlan51 \
passthrough=no
add action=mark-packet chain=forward comment="Serfing(Upload) tcp-other-ul" \
connection-mark="Serfing(Upload)-connection" disabled=no in-interface=\
vlan51 new-packet-mark=tcp-other-ul passthrough=no protocol=tcp \
src-address-list=Serfing
add action=mark-packet chain=forward comment="Serfing(Upload) icmp-ul" \
connection-mark="Serfing(Upload)-connection" disabled=no in-interface=\
vlan51 new-packet-mark=icmp-ul passthrough=no protocol=icmp \
src-address-list=Serfing
add action=mark-packet chain=forward comment="Serfing(Upload) udp-ul" \
connection-mark="Serfing(Upload)-connection" disabled=no in-interface=\
vlan51 new-packet-mark=udp-ul passthrough=no protocol=udp \
src-address-list=Serfing
add action=mark-packet chain=forward comment="Serfing(Upload) other-ul" \
connection-mark="Serfing(Upload)-connection" disabled=no in-interface=\
vlan51 new-packet-mark=other-ul passthrough=no src-address-list=Serfing
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_256(Download)" disabled=no dst-address-list=\
Speed_Limit_256 new-connection-mark="Connmark-Speed_Limit_256(Download)" \
out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_256(Upload)" disabled=no in-interface=vlan51 \
new-connection-mark="Connmark-Speed_Limit_256(Upload)" passthrough=yes \
src-address-list=Speed_Limit_256
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_256(Download)-DAY" connection-mark=\
"Connmark-Speed_Limit_256(Download)" disabled=no dst-address-list=\
Speed_Limit_256 new-packet-mark=\
"Packetmark-Speed_Limit_256(Download)-DAY" out-interface=vlan51 \
passthrough=no time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_256(Upload)-DAY" connection-mark=\
"Connmark-Speed_Limit_256(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_256(Upload)-DAY" passthrough=no \
src-address-list=Speed_Limit_256 time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_256(Download)-DAY2" connection-mark=\
"Connmark-Speed_Limit_256(Download)" disabled=no dst-address-list=\
Speed_Limit_256 new-packet-mark=\
"Packetmark-Speed_Limit_256(Download)-DAY2" out-interface=vlan51 \
passthrough=no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_256(Upload)-DAY2" connection-mark=\
"Connmark-Speed_Limit_256(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_256(Upload)-DAY2" passthrough=no \
src-address-list=Speed_Limit_256 time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_256(Download)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_256(Download)" disabled=no dst-address-list=\
Speed_Limit_256 new-packet-mark=\
"Packetmark-Speed_Limit_256(Download)-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_256(Upload)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_256(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_256(Upload)-NIGHT" passthrough=no \
src-address-list=Speed_Limit_256 time=\
2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_384(Download)" disabled=no dst-address-list=\
Speed_Limit_384 new-connection-mark="Connmark-Speed_Limit_384(Download)" \
out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_384(Upload)" disabled=no in-interface=vlan51 \
new-connection-mark="Connmark-Speed_Limit_384(Upload)" passthrough=yes \
src-address-list=Speed_Limit_384
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_384(Download)-DAY" connection-mark=\
"Connmark-Speed_Limit_384(Download)" disabled=no dst-address-list=\
Speed_Limit_384 new-packet-mark=\
"Packetmark-Speed_Limit_384(Download)-DAY" out-interface=vlan51 \
passthrough=no time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_384(Upload)-DAY" connection-mark=\
"Connmark-Speed_Limit_384(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_384(Upload)-DAY" passthrough=no \
src-address-list=Speed_Limit_384 time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_384(Download)-DAY2" connection-mark=\
"Connmark-Speed_Limit_384(Download)" disabled=no dst-address-list=\
Speed_Limit_384 new-packet-mark=\
"Packetmark-Speed_Limit_384(Download)-DAY2" out-interface=vlan51 \
passthrough=no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_384(Upload)-DAY2" connection-mark=\
"Connmark-Speed_Limit_384(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_384(Upload)-DAY2" passthrough=no \
src-address-list=Speed_Limit_384 time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_384(Download)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_384(Download)" disabled=no dst-address-list=\
Speed_Limit_384 new-packet-mark=\
"Packetmark-Speed_Limit_384(Download)-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_384(Upload)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_384(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_384(Upload)-NIGHT" passthrough=no \
src-address-list=Speed_Limit_384 time=\
2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_768(Download)" disabled=no dst-address-list=\
Speed_Limit_768 new-connection-mark="Connmark-Speed_Limit_768(Download)" \
out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_768(Upload)" disabled=no in-interface=vlan51 \
new-connection-mark="Connmark-Speed_Limit_768(Upload)" passthrough=yes \
src-address-list=Speed_Limit_768
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_768(Download)-DAY" connection-mark=\
"Connmark-Speed_Limit_768(Download)" disabled=no dst-address-list=\
Speed_Limit_768 new-packet-mark=\
"Packetmark-Speed_Limit_768(Download)-DAY" out-interface=vlan51 \
passthrough=no time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_768(Upload)-DAY" connection-mark=\
"Connmark-Speed_Limit_768(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_768(Upload)-DAY" passthrough=no \
src-address-list=Speed_Limit_768 time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_768(Download)-DAY2" connection-mark=\
"Connmark-Speed_Limit_768(Download)" disabled=no dst-address-list=\
Speed_Limit_768 new-packet-mark=\
"Packetmark-Speed_Limit_768(Download)-DAY2" out-interface=vlan51 \
passthrough=no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_768(Upload)-DAY2" connection-mark=\
"Connmark-Speed_Limit_768(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_768(Upload)-DAY2" passthrough=no \
src-address-list=Speed_Limit_768 time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_768(Download)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_768(Download)" disabled=no dst-address-list=\
Speed_Limit_768 new-packet-mark=\
"Packetmark-Speed_Limit_768(Download)-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_768(Upload)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_768(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_768(Upload)-NIGHT" passthrough=no \
src-address-list=Speed_Limit_768 time=\
2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_1536(Download)" disabled=no dst-address-list=\
Speed_Limit_1536 new-connection-mark=\
"Connmark-Speed_Limit_1536(Download)" out-interface=vlan51 passthrough=\
yes
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_1536(Upload)" disabled=no in-interface=vlan51 \
new-connection-mark="Connmark-Speed_Limit_1536(Upload)" passthrough=yes \
src-address-list=Speed_Limit_1536
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_1536(Download)-DAY" connection-mark=\
"Connmark-Speed_Limit_1536(Download)" disabled=no dst-address-list=\
Speed_Limit_1536 new-packet-mark=\
"Packetmark-Speed_Limit_1536(Download)-DAY" out-interface=vlan51 \
passthrough=no time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_1536(Upload)-DAY" connection-mark=\
"Connmark-Speed_Limit_1536(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_1536(Upload)-DAY" passthrough=no \
src-address-list=Speed_Limit_1536 time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_1536(Download)-DAY2" connection-mark=\
"Connmark-Speed_Limit_1536(Download)" disabled=no dst-address-list=\
Speed_Limit_1536 new-packet-mark=\
"Packetmark-Speed_Limit_1536(Download)-DAY2" out-interface=vlan51 \
passthrough=no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_1536(Upload)-DAY2" connection-mark=\
"Connmark-Speed_Limit_1536(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_1536(Upload)-DAY2" passthrough=no \
src-address-list=Speed_Limit_1536 time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_1536(Download)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_1536(Download)" disabled=no dst-address-list=\
Speed_Limit_1536 new-packet-mark=\
"Packetmark-Speed_Limit_1536(Download)-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_1536(Upload)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_1536(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_1536(Upload)-NIGHT" passthrough=\
no src-address-list=Speed_Limit_1536 time=\
2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_3072(Download)" disabled=no dst-address-list=\
Speed_Limit_3072 new-connection-mark=\
"Connmark-Speed_Limit_3072(Download)" out-interface=vlan51 passthrough=\
yes
add action=mark-connection chain=forward comment=\
"Connmark-Speed_Limit_3072(Upload)" disabled=no in-interface=vlan51 \
new-connection-mark="Connmark-Speed_Limit_3072(Upload)" passthrough=yes \
src-address-list=Speed_Limit_3072
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_3072(Download)-DAY" connection-mark=\
"Connmark-Speed_Limit_3072(Download)" disabled=no dst-address-list=\
Speed_Limit_3072 new-packet-mark=\
"Packetmark-Speed_Limit_3072(Download)-DAY" out-interface=vlan51 \
passthrough=no time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_3072(Upload)-DAY" connection-mark=\
"Connmark-Speed_Limit_3072(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_3072(Upload)-DAY" passthrough=no \
src-address-list=Speed_Limit_3072 time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_3072(Download)-DAY2" connection-mark=\
"Connmark-Speed_Limit_3072(Download)" disabled=no dst-address-list=\
Speed_Limit_3072 new-packet-mark=\
"Packetmark-Speed_Limit_3072(Download)-DAY2" out-interface=vlan51 \
passthrough=no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_3072(Upload)-DAY2" connection-mark=\
"Connmark-Speed_Limit_3072(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_3072(Upload)-DAY2" passthrough=no \
src-address-list=Speed_Limit_3072 time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_3072(Download)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_3072(Download)" disabled=no dst-address-list=\
Speed_Limit_3072 new-packet-mark=\
"Packetmark-Speed_Limit_3072(Download)-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Packetmark-Speed_Limit_3072(Upload)-NIGHT" connection-mark=\
"Connmark-Speed_Limit_3072(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Packetmark-Speed_Limit_3072(Upload)-NIGHT" passthrough=\
no src-address-list=Speed_Limit_3072 time=\
2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment="Polosa_1024(Download)" \
disabled=no dst-address-list=Polosa_1024 new-connection-mark=\
"Polosa_1024(Download)" out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment="Polosa_1024(Upload)" \
disabled=no in-interface=vlan51 new-connection-mark="Polosa_1024(Upload)" \
passthrough=yes src-address-list=Polosa_1024
add action=mark-packet chain=forward comment="Polosa_1024(Download)" \
connection-mark="Polosa_1024(Download)" disabled=no dst-address-list=\
Polosa_1024 new-packet-mark="Polosa_1024(Download)" out-interface=vlan51 \
passthrough=no
add action=mark-packet chain=forward comment="Polosa_1024(Upload)" \
connection-mark="Polosa_1024(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Polosa_1024(Upload)" passthrough=no src-address-list=\
Polosa_1024
add action=mark-connection chain=forward comment="Mix-1(Download)" disabled=\
no dst-address-list=Mix-1 new-connection-mark="Mix-1(Download)" \
out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment="Mix-1(Upload)" disabled=no \
in-interface=vlan51 new-connection-mark="Mix-1(Upload)" passthrough=yes \
src-address-list=Mix-1
add action=mark-packet chain=forward comment="Mix-1(Download)-DAY" \
connection-mark="Mix-1(Download)" disabled=no dst-address-list=Mix-1 \
new-packet-mark="Mix-1(Download)-DAY" out-interface=vlan51 passthrough=no \
time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-1(Upload)-DAY" \
connection-mark="Mix-1(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-1(Upload)-DAY" passthrough=no src-address-list=Mix-1 \
time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-1(Download)-DAY2" \
connection-mark="Mix-1(Download)" disabled=no dst-address-list=Mix-1 \
new-packet-mark="Mix-1(Download)-DAY2" out-interface=vlan51 passthrough=\
no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-1(Upload)-DAY2" \
connection-mark="Mix-1(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-1(Upload)-DAY2" passthrough=no src-address-list=\
Mix-1 time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-1(Download)-NIGHT" \
connection-mark="Mix-1(Download)" disabled=no dst-address-list=Mix-1 \
new-packet-mark="Mix-1(Download)-NIGHT" out-interface=vlan51 passthrough=\
no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-1(Upload)-NIGHT" \
connection-mark="Mix-1(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-1(Upload)-NIGHT" passthrough=no src-address-list=\
Mix-1 time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment="Mix-2(Download)" disabled=\
no dst-address-list=Mix-2 new-connection-mark="Mix-2(Download)" \
out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment="Mix-2(Upload)" disabled=no \
in-interface=vlan51 new-connection-mark="Mix-2(Upload)" passthrough=yes \
src-address-list=Mix-2
add action=mark-packet chain=forward comment="Mix-2(Download)-DAY" \
connection-mark="Mix-2(Download)" disabled=no dst-address-list=Mix-2 \
new-packet-mark="Mix-2(Download)-DAY" out-interface=vlan51 passthrough=no \
time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-2(Upload)-DAY" \
connection-mark="Mix-2(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-2(Upload)-DAY" passthrough=no src-address-list=Mix-2 \
time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-2(Download)-DAY2" \
connection-mark="Mix-2(Download)" disabled=no dst-address-list=Mix-2 \
new-packet-mark="Mix-2(Download)-DAY2" out-interface=vlan51 passthrough=\
no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-2(Upload)-DAY2" \
connection-mark="Mix-2(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-2(Upload)-DAY2" passthrough=no src-address-list=\
Mix-2 time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-2(Download)-NIGHT" \
connection-mark="Mix-2(Download)" disabled=no dst-address-list=Mix-2 \
new-packet-mark="Mix-2(Download)-NIGHT" out-interface=vlan51 passthrough=\
no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-2(Upload)-NIGHT" \
connection-mark="Mix-2(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-2(Upload)-NIGHT" passthrough=no src-address-list=\
Mix-2 time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment="Mix-3(Download)" disabled=\
no dst-address-list=Mix-3 new-connection-mark="Mix-3(Download)" \
out-interface=vlan51 passthrough=yes
add action=mark-connection chain=forward comment="Mix-3(Upload)" disabled=no \
in-interface=vlan51 new-connection-mark="Mix-3(Upload)" passthrough=yes \
src-address-list=Mix-3
add action=mark-packet chain=forward comment="Mix-3(Download)-DAY" \
connection-mark="Mix-3(Download)" disabled=no dst-address-list=Mix-3 \
new-packet-mark="Mix-3(Download)-DAY" out-interface=vlan51 passthrough=no \
time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-3(Upload)-DAY" \
connection-mark="Mix-3(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-3(Upload)-DAY" passthrough=no src-address-list=Mix-3 \
time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-3(Download)-DAY2" \
connection-mark="Mix-3(Download)" disabled=no dst-address-list=Mix-3 \
new-packet-mark="Mix-3(Download)-DAY2" out-interface=vlan51 passthrough=\
no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-3(Upload)-DAY2" \
connection-mark="Mix-3(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-3(Upload)-DAY2" passthrough=no src-address-list=\
Mix-3 time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-3(Download)-NIGHT" \
connection-mark="Mix-3(Download)" disabled=no dst-address-list=Mix-3 \
new-packet-mark="Mix-3(Download)-NIGHT" out-interface=vlan51 passthrough=\
no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Mix-3(Upload)-NIGHT" \
connection-mark="Mix-3(Upload)" disabled=no in-interface=vlan51 \
new-packet-mark="Mix-3(Upload)-NIGHT" passthrough=no src-address-list=\
Mix-3 time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment=\
"Bezlimitniy-1(Download)-Connection" disabled=no dst-address-list=\
Bezlimitniy-1 new-connection-mark="Bezlimitniy-1(Download)-Connection" \
out-interface=vlan51 passthrough=yes
add action=mark-packet chain=forward comment=\
"Bezlimitniy-1(Download)-Packets" disabled=no dst-address-list=\
Bezlimitniy-1 new-packet-mark="Bezlimitniy-1(Download)-Packets" \
out-interface=vlan51 passthrough=no
add action=mark-connection chain=forward comment=\
"Bezlimitniy-1(Upload)-Connection" disabled=no in-interface=vlan51 \
new-connection-mark="Bezlimitniy-1(Upload)-Connection" passthrough=yes \
src-address-list=Bezlimitniy-1
add action=mark-packet chain=forward comment="Bezlimitniy-1(Upload)-Packets" \
disabled=no in-interface=vlan51 new-packet-mark=\
"Bezlimitniy-1(Upload)-Packets" passthrough=no src-address-list=\
Bezlimitniy-1
add action=mark-connection chain=forward comment=\
"Bronza(Download)-Connection" disabled=no dst-address-list=Bronza \
new-connection-mark="Bronza(Download)-Connection" out-interface=vlan51 \
passthrough=yes
add action=mark-connection chain=forward comment="Bronza(Upload)-Connection" \
disabled=no in-interface=vlan51 new-connection-mark=\
"Bronza(Upload)-Connection" passthrough=yes src-address-list=Bronza
add action=mark-packet chain=forward comment="Bronza(Download)-Packets-DAY" \
connection-mark="Bronza(Download)-Connection" disabled=no \
dst-address-list=Bronza new-packet-mark="Bronza(Download)-Packets-DAY" \
out-interface=vlan51 passthrough=no time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Bronza(Upload)-Packets-DAY" \
connection-mark="Bronza(Upload)-Connection" disabled=no in-interface=\
vlan51 new-packet-mark="Bronza(Upload)-Packets-DAY" passthrough=no \
src-address-list=Bronza time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Bronza(Download)-Packets-DAY2" \
connection-mark="Bronza(Download)-Connection" disabled=no \
dst-address-list=Bronza new-packet-mark="Bronza(Download)-Packets-DAY2" \
out-interface=vlan51 passthrough=no time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Bronza(Upload)-Packets-DAY2" \
connection-mark="Bronza(Upload)-Connection" disabled=no in-interface=\
vlan51 new-packet-mark="Bronza(Upload)-Packets-DAY2" passthrough=no \
src-address-list=Bronza time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Bronza(Download)-Packets-NIGHT" \
connection-mark="Bronza(Download)-Connection" disabled=no \
dst-address-list=Bronza new-packet-mark="Bronza(Download)-Packets-NIGHT" \
out-interface=vlan51 passthrough=no time=\
2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Bronza(Upload)-Packets-NIGHT" \
connection-mark="Bronza(Upload)-Connection" disabled=no in-interface=\
vlan51 new-packet-mark="Bronza(Upload)-Packets-NIGHT" passthrough=no \
src-address-list=Bronza time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment=\
"Serebro(Download)-Connection" disabled=no dst-address-list=Serebro \
new-connection-mark="Serebro(Download)-Connection" out-interface=vlan51 \
passthrough=yes
add action=mark-connection chain=forward comment="Serebro(Upload)-Connection" \
disabled=no in-interface=vlan51 new-connection-mark=\
"Serebro(Upload)-Connection" passthrough=yes src-address-list=Serebro
add action=mark-packet chain=forward comment="Serebro(Download)-Packets-DAY" \
connection-mark="Serebro(Download)-Connection" disabled=no \
dst-address-list=Serebro new-packet-mark="Serebro(Download)-Packets-DAY" \
out-interface=vlan51 passthrough=no time=\
12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Serebro(Upload)-Packets-DAY" \
connection-mark="Serebro(Upload)-Connection" disabled=no in-interface=\
vlan51 new-packet-mark="Serebro(Upload)-Packets-DAY" passthrough=no \
src-address-list=Serebro time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Serebro(Download)-Packets-DAY2" \
connection-mark="Serebro(Download)-Connection" disabled=no \
dst-address-list=Serebro new-packet-mark="Serebro(Download)-Packets-DAY2" \
out-interface=vlan51 passthrough=no time=\
0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Serebro(Upload)-Packets-DAY2" \
connection-mark="Serebro(Upload)-Connection" disabled=no in-interface=\
vlan51 new-packet-mark="Serebro(Upload)-Packets-DAY2" passthrough=no \
src-address-list=Serebro time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment=\
"Serebro(Download)-Packets-NIGHT" connection-mark=\
"Serebro(Download)-Connection" disabled=no dst-address-list=Serebro \
new-packet-mark="Serebro(Download)-Packets-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=forward comment="Serebro(Upload)-Packets-NIGHT" \
connection-mark="Serebro(Upload)-Connection" disabled=no in-interface=\
vlan51 new-packet-mark="Serebro(Upload)-Packets-NIGHT" passthrough=no \
src-address-list=Serebro time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=postrouting comment=\
"Zoloto(Download)-Connection" disabled=no dst-address-list=Zoloto \
new-connection-mark="Zoloto(Download)-Connection" out-interface=vlan51 \
passthrough=yes
add action=mark-packet chain=postrouting comment=\
"Zoloto(Download)-Packets-DAY" connection-mark=\
"Zoloto(Download)-Connection" disabled=no dst-address-list=Zoloto \
new-packet-mark="Zoloto(Download)-Packets-DAY" out-interface=vlan51 \
passthrough=no time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=postrouting comment=\
"Zoloto(Download)-Packets-DAY2" connection-mark=\
"Zoloto(Download)-Connection" disabled=no dst-address-list=Zoloto \
new-packet-mark="Zoloto(Download)-Packets-DAY2" out-interface=vlan51 \
passthrough=no time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=postrouting comment=\
"Zoloto(Download)-Packets-NIGHT" connection-mark=\
"Zoloto(Download)-Connection" disabled=no dst-address-list=Zoloto \
new-packet-mark="Zoloto(Download)-Packets-NIGHT" out-interface=vlan51 \
passthrough=no time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=prerouting comment=\
"Zoloto(Upload)-Connection" disabled=no in-interface=vlan51 \
new-connection-mark="Zoloto(Upload)-Connection" passthrough=yes \
src-address-list=Zoloto
add action=mark-packet chain=prerouting comment=\
"Zoloto(Upload)-Packets-DAILY" connection-mark=\
"Zoloto(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="Zoloto(Upload)-Packets-DAILY" passthrough=no \
src-address-list=Zoloto time=12h-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=prerouting comment=\
"Zoloto(Upload)-Packets-DAYLY2" connection-mark=\
"Zoloto(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="Zoloto(Upload)-Packets-DAILY2" passthrough=no \
src-address-list=Zoloto time=0s-1h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-packet chain=prerouting comment=\
"Zoloto(Upload)-Packets-NIGHTLY" connection-mark=\
"Zoloto(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="Zoloto(Upload)-Packets-NIGHTLY" passthrough=no \
src-address-list=Zoloto time=2h-11h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=forward comment="24(Download)-Connection" \
disabled=no dst-address-list=24 new-connection-mark=\
"24(Download)-Connection" out-interface=vlan51 passthrough=yes
add action=mark-packet chain=forward comment="24(Download)-Packets" \
connection-mark="24(Download)-Connection" disabled=no dst-address-list=24 \
new-packet-mark="24(Download)-Packets" out-interface=vlan51 passthrough=\
no
add action=mark-connection chain=forward comment="24(Upload)-Connection" \
disabled=no in-interface=vlan51 new-connection-mark=\
"24(Upload)-Connection" passthrough=yes src-address-list=24
add action=mark-packet chain=forward comment="24(Upload)-Packets" \
connection-mark="24(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="24(Upload)-Packets" passthrough=no src-address-list=24
add action=mark-connection chain=forward comment=\
"Vse_vklyucheno_1(Download)-Connection" disabled=no dst-address-list=\
Vse_vklyucheno_1 new-connection-mark=\
"Vse_vklyucheno_1(Download)-Connection" out-interface=vlan51 passthrough=\
yes
add action=mark-packet chain=forward comment=\
"Vse_vklyucheno_1(Download)-Packets" connection-mark=\
"Vse_vklyucheno_1(Download)-Connection" disabled=no dst-address-list=\
Vse_vklyucheno_1 new-packet-mark="Vse_vklyucheno_1(Download)-Packets" \
out-interface=vlan51 passthrough=no
add action=mark-connection chain=forward comment=\
"Vse_vklyucheno_1(Upload)-Connection" disabled=no in-interface=vlan51 \
new-connection-mark="Vse_vklyucheno_1(Upload)-Connection" passthrough=yes \
src-address-list=Vse_vklyucheno_1
add action=mark-packet chain=forward comment=\
"Vse_vklyucheno_1(Upload)-Packet" connection-mark=\
"Vse_vklyucheno_1(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="Vse_vklyucheno_1(Upload)-Packets" passthrough=no \
src-address-list=Vse_vklyucheno_1
add action=mark-connection chain=forward comment=\
"Vse_vklyucheno_2(Download)-Connection" disabled=no dst-address-list=\
Vse_vklyucheno_2 new-connection-mark=\
"Vse_vklyucheno_2(Download)-Connection" out-interface=vlan51 passthrough=\
yes
add action=mark-packet chain=forward comment=\
"Vse_vklyucheno_2(Download)-Packets" connection-mark=\
"Vse_vklyucheno_2(Download)-Connection" disabled=no dst-address-list=\
Vse_vklyucheno_2 new-packet-mark="Vse_vklyucheno_2(Download)-Packets" \
out-interface=vlan51 passthrough=no
add action=mark-connection chain=forward comment=\
"Vse_vklyucheno_2(Upload)-Connection" disabled=no in-interface=vlan51 \
new-connection-mark="Vse_vklyucheno_2(Upload)-Connection" passthrough=yes \
src-address-list=Vse_vklyucheno_2
add action=mark-packet chain=forward comment=\
"Vse_vklyucheno_2(Upload)-Packets" connection-mark=\
"Vse_vklyucheno_2(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="Vse_vklyucheno_2(Upload)-Packets" passthrough=no \
src-address-list=Vse_vklyucheno_2
add action=mark-connection chain=forward comment=\
"Vse_vklyucheno_3(Download)-Connection" disabled=no dst-address-list=\
Vse_vklyucheno_3 new-connection-mark=\
"Vse_vklyucheno_3(Download)-Connection" out-interface=vlan51 passthrough=\
yes
add action=mark-packet chain=forward comment=\
"Vse_vklyucheno_3(Download)-Packets" connection-mark=\
"Vse_vklyucheno_3(Download)-Connection" disabled=no dst-address-list=\
Vse_vklyucheno_3 new-packet-mark="Vse_vklyucheno_3(Download)-Packets" \
out-interface=vlan51 passthrough=no
add action=mark-connection chain=forward comment=\
"Vse_vklyucheno_3(Upload)-Connection" disabled=no in-interface=vlan51 \
new-connection-mark="Vse_vklyucheno_3(Upload)-Connection" passthrough=yes \
src-address-list=Vse_vklyucheno_3
add action=mark-packet chain=forward comment=\
"Vse_vklyucheno_3(Upload)-Packets" connection-mark=\
"Vse_vklyucheno_3(Upload)-Connection" disabled=no in-interface=vlan51 \
new-packet-mark="Vse_vklyucheno_3(Upload)-Packets" passthrough=no \
src-address-list=Vse_vklyucheno_3