MIKROTIK / ROUTING
Rute per Port (Game)
Arahkan trafik game (Mobile Legends, Free Fire, PUBG, Valorant, dan lainnya) lewat jalur internet khusus, per port atau per IP server.
PANDUAN Cara memakai Rute per Port (Game)
Supaya game lebih stabil (ping rendah), trafik game dilewatkan jalur internet tertentu, sementara trafik lain tetap lewat jalur biasa.
SEBELUM MULAI
- Punya minimal dua jalur internet, atau VPN game yang sudah tersambung.
CARA MENGISI
- Jalur tujuan: IP modem jalur game, atau nama interface VPN.
- Centang game yang dimainkan pelanggan. Port Valorant, League of Legends, Steam, Roblox, Minecraft dan Apex dari sumber resmi; game lain dari daftar komunitas.
- Game lain atau port yang belum masuk: isi Port tambahan, satu baris per protokol (lihat port yang dipakai lewat Tools > Torch saat main).
SETELAH SCRIPT DIJALANKAN
- Mode per port: IP > Firewall > Mangle, kolom paket aturan game bertambah saat game dimainkan.
- Mode per IP server: IP > Firewall > Address Lists, daftar sk-game-ip terisi IP server saat game dimainkan.
Baru pertama kali? Cara menempel script ke MikroTik & arti istilah
HASIL / SCRIPTHASIL / HITUNG
Rute per Port (Game)
# ===================================================
# RUTE GAME PER PORT
# Dibuat 2026-11-25 oleh SatuKonfig (satukonfig.com)
# Tempel di Winbox > New Terminal (RouterOS v7)
# ===================================================
# FastTrack melewati mangle — matikan agar jalur khusus bekerja
/ip firewall filter disable [find action=fasttrack-connection]
/ip firewall address-list add list=LOKAL-rute-port address=10.0.0.0/8 comment="SatuKonfig rute-port:"
/ip firewall address-list add list=LOKAL-rute-port address=172.16.0.0/12 comment="SatuKonfig rute-port:"
/ip firewall address-list add list=LOKAL-rute-port address=192.168.0.0/16 comment="SatuKonfig rute-port:"
# --- tabel routing ---
:if ([:len [/routing table find name="jalur-port"]] = 0) do={ /routing table add name=jalur-port fib comment="SatuKonfig rute-port:" }
# --- route jalur khusus ---
/ip route add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-table=jalur-port distance=1 check-gateway=ping comment="SatuKonfig rute-port: port"
# --- tandai koneksi ---
/ip firewall mangle
add chain=prerouting in-interface=bridge-lan dst-address-list=!LOKAL-rute-port connection-mark=no-mark protocol=tcp dst-port=5000-5221,5224-5227,5229-5241,5243-5508,5520-5529,5551-5559,5601-5700,8443 action=mark-connection new-connection-mark=port-conn passthrough=yes comment="SatuKonfig rute-port: Mobile Legends tcp 1"
add chain=prerouting in-interface=bridge-lan dst-address-list=!LOKAL-rute-port connection-mark=no-mark protocol=tcp dst-port=9000-9010,9443,10003,30000-30300 action=mark-connection new-connection-mark=port-conn passthrough=yes comment="SatuKonfig rute-port: Mobile Legends tcp 2"
add chain=prerouting in-interface=bridge-lan dst-address-list=!LOKAL-rute-port connection-mark=no-mark protocol=udp dst-port=2702,3702,4001-4009,5000-5221,5224-5241,5243-5509,5517,5520-5529,5551-5559 action=mark-connection new-connection-mark=port-conn passthrough=yes comment="SatuKonfig rute-port: Mobile Legends udp 1"
add chain=prerouting in-interface=bridge-lan dst-address-list=!LOKAL-rute-port connection-mark=no-mark protocol=udp dst-port=5601-5700,8001,8130,8443,9000-9010,9120,9992,10003,30000-30300 action=mark-connection new-connection-mark=port-conn passthrough=yes comment="SatuKonfig rute-port: Mobile Legends udp 2"
add chain=prerouting in-interface=bridge-lan connection-mark=port-conn action=mark-routing new-routing-mark=jalur-port passthrough=no comment="SatuKonfig rute-port: port rute"
Contoh isian di form hanya contoh; sesuaikan dengan jaringan Anda. Backup dulu sebelum menempel: /system backup save name=sebelum-satukonfig. Cara lengkap ada di Panduan di atas.