Bom dia pesooal!
Alguém ai pra dar uma dica por favor?
Desde já agradeço.
Versão Imprimível
Bom dia pesooal!
Alguém ai pra dar uma dica por favor?
Desde já agradeço.
/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=no in-interface=wan1 new-connection-mark=\
wan1_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=wan2 new-connection-mark=\
wan2_conn passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=wan1_conn disabled=no new-routing-mark=\
to_wan1 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=wan2_conn disabled=no new-routing-mark=\
to_wan2 passthrough=yes
add action=accept chain=prerouting comment="" disabled=no dst-address=201.57.135.215/27 in-interface=Local
add action=accept chain=prerouting comment="" disabled=no dst-address=201.157.185.106/27 in-interface=Local
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=\
Local new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=\
Local new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=wan1_conn disabled=no in-interface=\
Local new-routing-mark=to_wan1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=wan2_conn disabled=no in-interface=\
Local new-routing-mark=to_wan2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan1
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan2
/ip route
add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=Local
add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=201.57.135.209 \
routing-mark=to_wan1 scope=30 target-scope=10
add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=201.157.185.100 \
routing-mark=to_wan2 scope=30 target-scope=10
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=201.57.135.215 scope=30 target-scope=10
add comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=201.157.XXX.106 scope=30 target-scope=10
uso junto com ADSL perfeito!
NÃO ESQUEÇA DE AGRADECER!