HOME

REMOTE IP PUBLIC STATIC FOR SECONDARY GATEWAY MIKROTIK

Script Generator Result
########################################################
# Remote IP Public Static For Secondary Gateway Mikrotik
# Date/Time:
# By mikrotiktool.Github.io +
########################################################

/ip firewall mangle
add action=mark-connection chain=input in-interface="ether2-Astinet" new-connection-mark=ip-public passthrough=yes
add action=mark-routing chain=output connection-mark=ip-public new-routing-mark=ip-public passthrough=no

/ip route
add check-gateway=ping gateway="192.168.10.1" routing-mark=ip-public

Copy-Paste to Terminal, make sure this Script in Mangle on the Top position!