Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ip firewall mangle
- add action=mark-connection chain=postrouting comment="TOTAL ALL" \
- connection-mark="!PORT SELAIN PORT UMUM ( GAME )" new-connection-mark=\
- "TOTAL ALL" packet-mark="!ICMP DOWN" passthrough=yes
- add action=mark-packet chain=forward connection-mark="TOTAL ALL" \
- in-interface=INTERNET new-packet-mark="DOWNLOAD ALL" passthrough=yes
- add action=mark-packet chain=forward connection-mark="TOTAL ALL" \
- new-packet-mark="UPLUAD ALL" out-interface=INTERNET passthrough=yes
- add action=mark-connection chain=postrouting comment=GAME dst-address-list=\
- "IP GAME ONLINE" new-connection-mark="PORT SELAIN PORT UMUM ( GAME )" \
- passthrough=yes
- add action=mark-packet chain=forward connection-mark=\
- "PORT SELAIN PORT UMUM ( GAME )" in-interface=INTERNET new-packet-mark=\
- "PORT SELAIN PORT UMUM(GAME) DOWN" passthrough=yes
- add action=mark-packet chain=forward connection-mark=\
- "PORT SELAIN PORT UMUM ( GAME )" new-packet-mark=\
- "PORT SELAIN PORT UMUM(GAME) UP" out-interface=INTERNET passthrough=yes
- add action=mark-connection chain=postrouting comment=\
- "MASUKAN PORT GAME KE TRAFICK BERAT JIKA 200k-999M" connection-mark=\
- "PORT SELAIN PORT UMUM ( GAME )" connection-rate=200k-999M \
- new-connection-mark="PORT BERAT" passthrough=yes
- add action=mark-packet chain=forward connection-mark="PORT BERAT" \
- in-interface=INTERNET new-packet-mark="PORT BERAT DOWN" passthrough=yes
- add action=mark-packet chain=forward connection-mark="PORT BERAT" \
- new-packet-mark="PORT BERAT UP" out-interface=INTERNET passthrough=yes
- add action=mark-connection chain=postrouting comment=\
- "KEMBALIKAN PORT BERAT KE GAME JIKA TRAFICK 0K-200K" connection-mark=\
- "PORT BERAT" connection-rate=0-200k new-connection-mark=\
- "PORT SELAIN PORT UMUM ( GAME )" passthrough=yes
- add action=mark-connection chain=postrouting comment=icmp \
- new-connection-mark=ICMP passthrough=yes protocol=icmp
- add action=mark-packet chain=forward connection-mark=ICMP in-interface=\
- INTERNET new-packet-mark="ICMP DOWN" passthrough=yes
- add action=mark-packet chain=forward connection-mark=ICMP new-packet-mark=\
- "ICMP UP" out-interface=INTERNET passthrough=yes
- add action=mark-connection chain=postrouting comment=SOSMED dst-address-list=\
- sosmed new-connection-mark=SOSMED passthrough=yes
- add action=mark-packet chain=forward connection-mark=SOSMED in-interface=\
- INTERNET new-packet-mark="SOSMED DOWN" passthrough=yes
- add action=mark-packet chain=forward connection-mark=SOSMED new-packet-mark=\
- "SOSMED UP" out-interface=INTERNET passthrough=yes
- add action=mark-connection chain=postrouting comment=YOUTUBE \
- dst-address-list=youtube.com new-connection-mark=YT passthrough=yes
- add action=mark-packet chain=forward connection-mark=YT in-interface=\
- INTERNET new-packet-mark="YOUTUBE DOWN" passthrough=yes
- add action=mark-packet chain=forward connection-mark=YT new-packet-mark=\
- "YOUTUBE UP" out-interface=INTERNET passthrough=yes
- /queue tree
- add max-limit=50M name="TRAFICK GLOBAL DOWN" parent=global queue=\
- pcq-download-default
- add max-limit=15M name="TRAFICK GLOBAL UP" parent=global queue=\
- pcq-download-default
- add name="1.youtube.com down" packet-mark="YOUTUBE DOWN" parent=\
- "TRAFICK GLOBAL DOWN" queue=pcq-download-default
- add name="1.youtube.com up" packet-mark="YOUTUBE UP" parent=\
- "TRAFICK GLOBAL UP" queue=pcq-upload-default
- add name="2.Sosmed down" packet-mark="SOSMED DOWN" parent=\
- "TRAFICK GLOBAL DOWN" queue=pcq-download-default
- add name="2.sosmed up" packet-mark="SOSMED UP" parent="TRAFICK GLOBAL UP" \
- queue=pcq-upload-default
- add name="3.all trafic up" packet-mark="UPLUAD ALL" parent=\
- "TRAFICK GLOBAL UP" queue=pcq-download-default
- add name="3.all trafic down" packet-mark="DOWNLOAD ALL" parent=\
- "TRAFICK GLOBAL DOWN" queue=pcq-download-default
- add name="4.berat down" packet-mark="PORT BERAT DOWN" parent=\
- "TRAFICK GLOBAL DOWN" queue=pcq-download-default
- add name="4.berat up" packet-mark="PORT BERAT UP" parent="TRAFICK GLOBAL UP" \
- queue=pcq-download-default
- add max-limit=50M name="1.SELAIN PORT UMUM RINGAN GAME ONLINE DOWN" \
- packet-mark="PORT SELAIN PORT UMUM(GAME) DOWN" parent=global priority=1 \
- queue=pcq-download-default
- add max-limit=15M name="2.PORT SELAIN PORT UMUM(GAME) UP" packet-mark=\
- "PORT SELAIN PORT UMUM(GAME) UP" parent=global priority=1 queue=\
- pcq-upload-default
- add name="4.ICMP DOWN" packet-mark="ICMP DOWN" parent=global priority=1
- add name="5.ICMP UP" packet-mark="ICMP UP" parent=global priority=1
- /queue simple
- add max-limit=15M/50M name="1.SELAIN PORT UMUM RINGAN GAME ONLINE DOWN" \
- packet-marks=\
- "PORT SELAIN PORT UMUM(GAME) DOWN,PORT SELAIN PORT UMUM(GAME) UP" \
- priority=1/1 queue=default/default target="10.10.10.0/24,192.168.200.0/24,192.168.210.0/24,"
- add name="2.ICMP DOWNLOAD" packet-marks="ICMP DOWN,ICMP UP" priority=1/1 \
- queue=default/default target="10.10.10.0/24,192.168.200.0/24,192.168.210.0/24,"
- add max-limit=15M/50M name="ALL TRAFICK" packet-marks="SOSMED UP,SOSMED DOWN,YOUTUBE UP,YOUTUBE DOWN,UPLUAD ALL,DOWNLOAD ALL,PORT BERAT DOWN,PORT BERAT UP"\
- priority=3/3 queue=pcq-upload-default/pcq-download-default target="10.10.10.0/24,192.168.200.0/24,192.168.210.0/24,"
- add name="3.USER HOTSPOT&RUMAHAN" parent="ALL TRAFICK" priority=5/5 queue=\
- default/default
- /ip firewall address-list
- add address=192.168.1.0/24 list="IP LOCAL"
- add address=10.10.10.0/24 list="IP LOCAL"
- add address=192.168.200.0/24 list="IP LOCAL"
- add address=192.168.210.0/24 list="IP LOCAL"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement