Mikrotik Tools

MIKROTIK STATIC ROUTING GENERATOR

Mualat RAW Script Engine

CONFIGURATION
Game Selection
MOBILE GAMES
WEB GAMES
PC GAMES
generator-output.rsc
#########################################################
# Static Routing Games Using Filter Raw Generator - Mua.lat
# Date/Time:
# Created By: Mua.lat - mikrotik.mua.lat
#########################################################
/ip firewall address-list
add list=LOCAL-IP address=10.0.0.0/8 comment="Routing Games by Mua.lat"
add list=LOCAL-IP address=172.16.0.0/12 comment="Routing Games by Mua.lat"
add list=LOCAL-IP address=192.168.0.0/16 comment="Routing Games by Mua.lat"
/ip route
add gateway=x.x.x.x routing-mark=routing-game comment="Routing Games by Mua.lat"
/ip firewall mangle
add action=mark-routing chain=prerouting connection-mark=conn-game new-routing-mark=routing-game passthrough=no src-address-list=LOCAL-IP comment="Routing Games by Mua.lat" place-before=*0
add action=mark-connection chain=prerouting dst-address-list=List-IP-Games new-connection-mark=conn-game passthrough=yes comment="Routing Games by Mua.lat" place-before=*0
# If you want to add a game script only, you can ignore the script above
/ip firewall raw
# Select games from sidebar to generate RAW rules...
Cleanup Script
/ip route remove [find comment="Routing Games by Mua.lat"]
/ip firewall mangle remove [find comment="Routing Games by Mua.lat"]
/ip firewall raw remove [find address-list="List-IP-Games"]
/ip firewall address-list remove [find list="List-IP-Games"]
/ip firewall address-list remove [find comment="Routing Games by Mua.lat"]