2 gateways, 1 wan and 1 lan interface, web proxy

I have a mikrotik web proxy with 1 wan and 1 lan ethernet interface. Now i got a second ADSL line. I attach two lines to the wan interface via a switch and given 2 IPs to wan and added one more gateway. Now if i want to load balance between these gateways, how can i do that?
Can it be done? Pls help.

Anyone to help me out please. I badly need the second gateway.

the easiest is to delete the route 0.0.0.0 / 0
and
add two gateways to the default route

[vasilevkirill@MikroTik] > ip route add dst-address=0.0.0.0/0
gateway=10.10.10.1,10.10.20.1

Thanks. But it doesn’t work.

You can create two ports on the proxy
and marking all incoming traffic to pass and then according to the src-address. redirect to the correct port of the proxy.
then let all outbound traffic to port 8080 and send the label with the gateway pointing to it labeled. “routing mark”

I too am trying to solve the same problem as the OP. Running a RB2011 (very nice board) using 1 Lan Hotspot port with two WAN’s one a static IP and a 2nd one PPPoE.

ECMP using the Wiki and forum tutorials available here WORKS for NON-PROXY traffic but anything put through the proxy like www traffic always goes out through the same WAN port. For example doing an outgoing SSH connection gets ECMP routed but but web traffic always the same port.

I speculate this has to do with the proxy becoming the source IP rather than the client and thus getting put through the Input/Output firewall chains rather than Forwarding.

I tried experimenting with some mangling mark route on packets coming into port 64874 from clients on the Lan as this is the Hotspots default input port but no success here.

Could I bother you to elaborate slightly on how this might be accomplished? At which point do we need to “mark route” the packets: Input Client → Proxy or: Output Proxy → Destination Site?

Since 95% of our traffic is on port 443 and 80, our 2nd WAN is sitting mostly Idle at the moment.

I’ve considered using two routers, the RB2011 to run the Hotspot, and then a RB750 to do the Dual WANs, as then it would be a straightforward routing flow: Client → Forward Chain → WAN1 or WAN2.

This led me to some confusion about how and what firewall rule proxied Web connections are being NAT’d, and how I could turn off NAT on the Web Proxy connections.

Any thoughts on the subject are welcome

Nick Protokowicz