Dear,
i have load balance to 2 wans
when i use tools or scripts from firewall it uses the distance=1 route gateway
how i can mark the firewall itself to use specific Wan regardless the route distance
thank you in advance
Dear,
i have load balance to 2 wans
when i use tools or scripts from firewall it uses the distance=1 route gateway
how i can mark the firewall itself to use specific Wan regardless the route distance
thank you in advance
Use the output chain in the mangle rules.
Can you help me please in doing this because when i set output i lose connection to winbox
Sent from my iPhone using Tapatalk
Start with this, and work out from there:
/ip firewall mangle
add action=mark-connection chain=input comment="Reply to connections on Interfaces Traffic came in on." in-interface=ether1 new-connection-mark=input1_connection passthrough=no
add action=mark-connection chain=input in-interface=ether2 new-connection-mark=input2_connection passthrough=no
add action=mark-routing chain=output connection-mark=input1_connection new-routing-mark=ISP_1 passthrough=no
add action=mark-routing chain=output connection-mark=input2_connection new-routing-mark=ISP_2 passthrough=no
This will keep responses from the router on the same interface that the traffic came in on. Then you use the output chain to control what traffic from the router you want to use what interface. This can be narrowed down by protocol and port, just like any other firewall rule.
Here is the complete tutorial Click here https://www.youtube.com/watch?v=DDMD1GVg84M