STATIC ROUTING GENERATOR
YouTube, TikTok, Facebook, WhatsApp & More
Mikrotik RouterOSv6 / v7 Compatible
Step 1: Fetch Configuration
## STEP 1 - Copy Paste to Terminal
/file remove "Mikrotik-Youtube.rsc"
/tool fetch url="https://raw.githubusercontent.com/mikrotik-tools/mikrotik-routeros-rsc/refs/heads/main/tls-host/Mikrotik-Youtube.rsc" dst-path="Mikrotik-Youtube.rsc"
/file remove "Mikrotik-Youtube.rsc"
/tool fetch url="https://raw.githubusercontent.com/mikrotik-tools/mikrotik-routeros-rsc/refs/heads/main/tls-host/Mikrotik-Youtube.rsc" dst-path="Mikrotik-Youtube.rsc"
Step 2: Import & Apply Rules
## STEP 2 - Copy Paste to Terminal
/import file-name="Mikrotik-Youtube.rsc"
/file remove "Mikrotik-Youtube.rsc"
/ip route add check-gateway=ping distance=1 gateway="192.168.1.1" routing-mark="To-ISP-1" comment="Route by Mua.lat"
/ip firewall address-list add address=192.168.0.0/16 list=LOCAL-IP comment="LOCAL IP - Mua.lat"
/ip firewall address-list add address=172.16.0.0/12 list=LOCAL-IP comment="LOCAL IP - Mua.lat"
/ip firewall address-list add address=10.0.0.0/8 list=LOCAL-IP comment="LOCAL IP - Mua.lat"
/ip firewall mangle rem [find comment="Youtube - Mua.lat"]
/ip firewall mangle add action=mark-routing chain=prerouting src-address-list=LOCAL-IP dst-address-list="Mikrotik-Youtube" new-routing-mark="To-ISP-1" passthrough=no place-before=*0 comment="Youtube - Mua.lat"
/import file-name="Mikrotik-Youtube.rsc"
/file remove "Mikrotik-Youtube.rsc"
/ip route add check-gateway=ping distance=1 gateway="192.168.1.1" routing-mark="To-ISP-1" comment="Route by Mua.lat"
/ip firewall address-list add address=192.168.0.0/16 list=LOCAL-IP comment="LOCAL IP - Mua.lat"
/ip firewall address-list add address=172.16.0.0/12 list=LOCAL-IP comment="LOCAL IP - Mua.lat"
/ip firewall address-list add address=10.0.0.0/8 list=LOCAL-IP comment="LOCAL IP - Mua.lat"
/ip firewall mangle rem [find comment="Youtube - Mua.lat"]
/ip firewall mangle add action=mark-routing chain=prerouting src-address-list=LOCAL-IP dst-address-list="Mikrotik-Youtube" new-routing-mark="To-ISP-1" passthrough=no place-before=*0 comment="Youtube - Mua.lat"
Note: Make sure your RouterOS has internet access to fetch the RSC file. These scripts are provided by Mua.lat.