Mikrotik Tools

VPN Routing Generator

IP Address Game Routing Method

Generated MikroTik Script

######################################################
# Vpn Game Script Generator - IP Address Routing Method
# Date/Time:
# VPN Protocol -> PPTP
######################################################
/interface pptp-client
add connect-to="x.x.x.x" disabled=no name="VPN-GAME" user="******" password="******" comment="VPN-GAME"
/ip firewall nat
add chain=srcnat out-interface="VPN-GAME" action=masquerade comment="VPN-GAME"
/ip route
add gateway="VPN-GAME" routing-mark=vpn-routing-game comment="VPN-GAME"
/ip firewall address-list
add address=192.168.0.0/16 list=LOCAL-IP
add address=172.16.0.0/12 list=LOCAL-IP
add address=10.0.0.0/8 list=LOCAL-IP
/ip firewall mangle
add action=mark-routing chain=prerouting src-address-list=LOCAL-IP dst-address-list=List-IP-Games new-routing-mark=vpn-routing-game passthrough=no comment="VPN-GAME"
/ip firewall raw

How to use: Configure your VPN details in the sidebar, search and select your preferred games, then copy the script and paste it into your MikroTik Terminal.

# Command to remove generated configurations:

/interface pptp-client remove [find comment="VPN-GAME"]

/ip firewall raw remove [find address-list="List-IP-Games"]

/ip firewall mangle remove [find new-routing-mark="vpn-routing-game"]