🌐 📗 Bagian 1 (Fundamental & Dasar) • Modul 08 100% Standar Industri & Vokasi

QoS & Prioritas Traffic Game / Streaming

Klasifikasi traffic dengan TOS/DSCP, pemisahan antrean prioritas game online (anti-lag) dan streaming video/download berkapasitas besar.

1. Konsep Quality of Service (QoS)

QoS (Quality of Service) memastikan paket data berlatensi sensitif (seperti Game Online dan Voice/Zoom Call) diproses terlebih dahulu oleh router sebelum paket data berukuran besar (seperti video YouTube 4K atau unduhan IDM) yang dapat memicu bufferbloat dan lag ping tinggi.

2. Port Standar Game Online Populer

  • Mobile Legends: TCP/UDP 5000–5200, 30000–30150
  • PUBG Mobile: TCP/UDP 10012, 17500, 20000–20002
  • Free Fire: UDP 10000–10009, 7000–7999
  • Valorant: UDP 7000–8000, TCP 2099, 5222

3. Skrip Mangle Prioritas 1 (Game) & Prioritas 8 (Download)

# Tandai Paket DNS & ICMP (Priority 1)
/ip firewall mangle add chain=forward protocol=udp dst-port=53 action=mark-packet new-packet-mark=pm-dns passthrough=no
/ip firewall mangle add chain=forward protocol=icmp action=mark-packet new-packet-mark=pm-icmp passthrough=no

# Tandai Port Game Online (Priority 2)
/ip firewall mangle add chain=forward protocol=udp dst-port=5000-5200,30000-30150,10000-10009 action=mark-packet new-packet-mark=pm-games passthrough=no

# Tandai Traffic Browsing HTTPS (Priority 4)
/ip firewall mangle add chain=forward protocol=tcp dst-port=80,443 action=mark-packet new-packet-mark=pm-browsing passthrough=no