Remote IP Public Static For Secondary Gateway Mikrotik

REMOTE IP PUBLIC STATIC FOR SECONDARY GATEWAY MIKROTIK

Script Generator Result
########################################################
# Remote IP Public Static For Secondary Gateway Mikrotik
# Date/Time:
########################################################

/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!
Corporate IT Solutions | Networking | cloud infrastructure | Mikrotik Consultancy Services : @2024
Phone: +88 016 350 28778, +88 01723-183331, +88 01711-133891, Mirpur, Dhaka, Bangladesh.
envelopephonemenu-circlecross-circle
×

Hello!

Need information, Please Click below to chat on WhatsApp

তথ্যের জন্য অনুগ্রহ করে WhatsApp এ ক্লিক করুন

× How can I help you?
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram