/ip firewall nat
add action=masquerade chain=srcnat comment=\
"REGRAS NAT REDE INTERNET" disabled=no out-interface=\
link-gigalink
add action=masquerade chain=srcnat comment="REGRAS NAT REDE DA INTRANET" \
disabled=no out-interface=link-intranet
/ip route
add comment="ROTA PORTAL" disabled=no distance=1 dst-address=10.200.96.20/32 \
gateway=10.0.11.2 routing-mark=intranet scope=30 target-scope=10
add comment="ROTA SISPES" disabled=no distance=1 dst-address=172.16.0.0/24 \
gateway=link-intranet routing-mark=intranet scope=30 target-scope=10
add comment="ROTA UPO" disabled=no distance=1 dst-address=187.76.237.0/24 \
gateway=10.0.11.2 routing-mark=intranet scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=30 \
target-scope=10
add disabled=yes distance=1 dst-address=10.0.11.0/24 gateway=192.168.11.1 \
scope=30 target-scope=10
/ip firewall mangle
add action=mark-routing chain=prerouting comment=PORTAL \
disabled=no dst-address=10.200.96.20 new-routing-mark=intranet passthrough=\
no
add action=mark-routing chain=prerouting comment=UPO disabled=no \
dst-address=187.76.237.0/24 new-routing-mark=intranet passthrough=no
add action=mark-routing chain=prerouting comment=\
"SITES INTRANET" disabled=no dst-address=\
172.16.0.0/24 new-routing-mark=intranet passthrough=no