100% found this document useful (1 vote)
200 views5 pages

Template Script Mikrotik Routing Game Online

This document contains a script for MikroTik routers that sets up routing and firewall rules to direct online game traffic through a specific gateway. It marks connections on ports associated with games like Mobile Legends, Free Fire, PUBG, Clash of Clans, and others to use routing rules sending traffic to IP 192.168.100.1. This isolates game traffic to go through a separate gateway for online play.

Uploaded by

Nur Wahida
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
200 views5 pages

Template Script Mikrotik Routing Game Online

This document contains a script for MikroTik routers that sets up routing and firewall rules to direct online game traffic through a specific gateway. It marks connections on ports associated with games like Mobile Legends, Free Fire, PUBG, Clash of Clans, and others to use routing rules sending traffic to IP 192.168.100.1. This isolates game traffic to go through a separate gateway for online play.

Uploaded by

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

TEMPLATE SCRIPT MIKROTIK ROUTING GAME ONLINE

IP ADDRESS LOKAL 192 . 168 . 8 . 1 / 21


GATEWAY MODEM GAME 192 . 168 . 1 . 1
Created By : Ubay Obey
/ip firewall mangle
add action=mark-connection chain=prerouting comment="MOBILE LEGEND" dst-port=\
30097-30147,30000-30150,5001,9001,30101-30106,5057,5228,5001-5009 \
new-connection-mark="PORT GAME" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port=\
5601-5602,5025,5605,5005,5101-5109,5001-5009,30101 new-connection-mark=\
"PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting dst-port=\
5520-5529,5551,5651,5153,5523 new-connection-mark="PORT GAME" \
passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port=\
5520-5529,5020-5024,5501-5509,5517,5510 new-connection-mark=\
"PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting comment="FREE FIRE" dst-port=\
7006,39003,39698,39779,6006,7889,8001,10012 new-connection-mark=\
"PORT GAME" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port=\
10001-10007,10012,6006,6008,7008,2000,20001,10100 new-connection-mark=\
"PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting dst-port=\
10001-10007,10012,6006,6008,7008,2000,20001,10100 new-connection-mark=\
"PORT GAME" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port=\
7006,39003,39698,39779,6006,7889,8001,10012 new-connection-mark=\
"PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting comment="PORT RINGAN CAMPUR" \
dst-port=10289,10451,19305 new-connection-mark="PORT GAME" \
passthrough=yes protocol=udp
add action=mark-connection chain=prerouting comment=PUBG dst-port=10012,17500 \
new-connection-mark="PORT GAME" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port="10147,10491,10010,10013,\
10612,20002,20001,20000,12235,13748,13972,13894,11455,10096,10039" \
new-connection-mark="PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting dst-port=1700,10071 \
new-connection-mark="PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting comment=COC dst-port=9339 \
new-connection-mark="PORT GAME" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting comment=COD dst-port=7500-7644 \
new-connection-mark="PORT GAME" passthrough=yes protocol=udp
add action=mark-connection chain=prerouting comment=SEAL dst-port=2928,1818 \
new-connection-mark="PORT GAME" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting comment="8 POOL" dst-port=\
4000,9001 new-connection-mark="PORT GAME" passthrough=yes \
protocol=tcp
add action=mark-routing chain=prerouting comment="ROUTING GAME" \
connection-mark="PORT GAME" new-routing-mark=\
"Routing_Game_Online" passthrough=yes src-address=50.50.50.0/24
/ip route
add check-gateway=ping distance=1 gateway=192.168.100.1 routing-mark=\
"Routing_Game_Online"
/
0
0
0

You might also like