0% found this document useful (0 votes)
83 views2 pages

Script Mikrotik

kljlkjl

Uploaded by

Khidir Wira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views2 pages

Script Mikrotik

kljlkjl

Uploaded by

Khidir Wira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

/ip firewall address-list

add address=192.0.0.0/8 list=Lokal


/ip firewall raw
add action=add-dst-to-address-list address-list=GAME address-list-timeout=2h \
chain=prerouting comment="GAME ONLINE" dst-address-list=!Lokal dst-port=\
1024-1480,1500-2021,2480-3300,5289-5345,5355-7999,8100-34750,39000-44400 \
in-interface=!ether1-INTERNET protocol=tcp
add action=add-dst-to-address-list address-list=GAME address-list-timeout=2h \
chain=prerouting dst-address-list=!Lokal dst-port=\
2475-3470,3480-4240,5299-5345,5355-7999,8100-8700,9000-34750,37000-45000 \
in-interface=!ether1-INTERNET protocol=udp
/ip firewall mangle
add action=accept chain=prerouting dst-address-list=Lokal src-address-list=Lokal
comment="Bypass Trafik Lokal"
add action=accept chain=postrouting dst-address-list=Lokal src-address-list=Lokal
add action=accept chain=forward dst-address-list=Lokal src-address-list=Lokal
add action=accept chain=input dst-address-list=Lokal src-address-list=Lokal
add action=accept chain=output dst-address-list=Lokal src-address-list=Lokal
add action=mark-connection chain=prerouting comment=ICMP-DNS \
dst-address-list=!Lokal new-connection-mark=PING passthrough=yes \
protocol=icmp src-address-list=Lokal
add action=mark-connection chain=prerouting dst-address-list=!Lokal dst-port=\
53,5353,853 new-connection-mark=PING passthrough=yes protocol=udp \
src-address-list=Lokal
add action=mark-packet chain=forward connection-mark=PING in-interface=ether1-
INTERNET \
new-packet-mark="PING Download" passthrough=no
add action=mark-packet chain=forward connection-mark=PING new-packet-mark=\
"PING Upload" out-interface=ether1-INTERNET passthrough=no
add action=mark-connection chain=postrouting comment="GAME ONLINE" \
dst-address-list=GAME new-connection-mark="Game Online" passthrough=yes \
src-address-list=Lokal
add action=change-dscp chain=prerouting connection-rate=0-250k \
dst-address-list=GAME new-dscp=8 passthrough=no
add action=mark-packet chain=forward connection-mark="Game Online" \
in-interface=ether1-INTERNET new-packet-mark="Game Download" passthrough=no
add action=mark-packet chain=forward connection-mark="Game Online" \
new-packet-mark="Game Upload" out-interface=ether1-INTERNET passthrough=no
add action=mark-connection chain=postrouting comment=\
"ALIHKAN GAME ONLINE KE KONEKSI UMUM" connection-rate=250k-999M \
dst-address-list=GAME new-connection-mark=no-mark passthrough=yes \
src-address-list=Lokal
add action=mark-packet chain=forward connection-mark=no-mark \
in-interface=ether1-INTERNET new-packet-mark="Umum Download" passthrough=no
add action=mark-packet chain=forward connection-mark=no-mark \
new-packet-mark="Umum Upload" out-interface=ether1-INTERNET passthrough=no
/queue tree
add name="GLOBAL TRAFFIC" parent=global queue=default
add max-limit=50M name="TRAFFIC DOWNLOAD" parent="GLOBAL TRAFFIC" queue=\
pcq-download-default
add max-limit=10M name="TRAFFIC UPLOAD" parent="GLOBAL TRAFFIC" queue=\
pcq-upload-default
add name="1. GAME DOWNLOAD" packet-mark="Game Download" parent=\
"TRAFFIC DOWNLOAD" priority=1 queue=pcq-download-default
add name="1. GAME UPLOAD" packet-mark="Game Upload" parent="TRAFFIC UPLOAD" \
priority=1 queue=pcq-upload-default
add name="2. PING DOWNLOAD" packet-mark="PING Download" parent=\
"TRAFFIC DOWNLOAD" priority=1 queue=pcq-download-default
add name="2. PING UPLOAD" packet-mark="PING Upload" parent="TRAFFIC UPLOAD" \
priority=1 queue=pcq-upload-default
add max-limit=42M name="3. ALL TRAFFIC DOWNLOAD" packet-mark="Umum Download" \
parent="TRAFFIC DOWNLOAD" queue=pcq-download-default
add max-limit=8M name="3. ALL TRAFFIC UPLOAD" packet-mark="Umum Upload" \
parent="TRAFFIC UPLOAD" queue=pcq-upload-default

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy