OK, se precisar chama no skype, mayco.berghetti
Versão Imprimível
OK, se precisar chama no skype, mayco.berghetti
meu nobre tava criada em router, estou me perdendo em algum campo no mangle, vou exportar a regra criada lá.
segue a regra do mangle
add action=mark-connection chain=prerouting comment="" connection-state=new \
disabled=no dst-address-type="" in-interface=ether2-DEDICADO \
new-connection-mark=con_IN passthrough=yes
add action=mark-connection chain=prerouting comment="" connection-state=new \
disabled=no in-interface=ether3-ADSL new-connection-mark=con_IN2 \
passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=con_IN \
disabled=no new-routing-mark=rota passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=con_IN2 \
disabled=no new-routing-mark=rota2 passthrough=yes
Em routes
/ip route
add check-gateway=ping comment="" disabled=no distance=2 dst-address=\
0.0.0.0/0 gateway=177.135.xxx.xx routing-mark=rota scope=30 target-scope=\
10
add check-gateway=ping comment="" disabled=no distance=1 dst-address=\
0.0.0.0/0 gateway=192.168.25.1 routing-mark=rota2 scope=30 target-scope=\
10
add check-gateway=ping comment="" disabled=no distance=1 dst-address=\
0.0.0.0/0 gateway=177.135.xxx.xx scope=30 target-scope=10
add check-gateway=ping comment="" disabled=no distance=2 dst-address=\
0.0.0.0/0 gateway=192.168.25.1 scope=30 target-scope=10
add comment="" disabled=yes distance=2 dst-address=10.0.0.0/24 gateway=\
192.168.0.254 scope=30 target-scope=10
Dessa forma que fiz, desculpe colocar no IP Externo os "XXX", como o fórum é aberto pra evitar algum tipo de ataque direto ao MK por pessoas de má índole acabei apagando os finais dele, creio que da pra entender como ta criada as regras.
No mangle tentei algumas regras na net más sem sucesso...