RB2011 with 2 WANs

Hello,

I have two WAN ports on my RB2011. My default masquerade rule says that the traffic goes out via WAN_1.
Now I want to set up an Socks Proxy on my DMZ which should route all the traffic via a masquerade rule out on WAN_2.

Can I control this via a second masquerade rule where I set the src address that the RB2011 knows that packets from my Socks proxy goes out via WAN_2?

What happens if I set two masquerade rules (one for WAN_1 and the second for WAN_2) without any more detailed parameters?
Will then the firewall decide where the packet goes out? Will it first try to send it via WAN_1 but if the firewall drops this, will then the WAN_2 dgateway tried for sending the packet?

Hi,

First off the masquerade rules simply allow for the natting. Making decisions on which path the traffic should take would be accomplished using mangle rules or potentially /ip route rules

http://wiki.mikrotik.com/wiki/Per-Traffic_Load_Balancing ← This is a good introduction close to what you want to achieve.

Remember the wiki is always a great place to start.

Thanks. :slight_smile: