Mikrotik and proxy

Hi guys.

I’m trying to install a proxy server connected to the bridge on my Mikrotik (RB1000) and the following happens:

In the proxy server (Squid) I plug in the WAN cable and another for the LAN. About 3 to 4 minutes after the LAN network cable is connected at RB, the CPU usage goes to 100% of it and not go down while the cable is not unplugged and restarted RB.

What might be happening?

pleas clarify if the lan is added on the bridge as-well if it is then it will eco back and thats why your rb1000 goes up to 100% cpu usage, if i can explain it this way its like holding a microphone against a speaker and it is making that shrieking sound, that’s why it is doing that!

Yes, traffic follows the following scheme:

WAN <----- wan cable ----->| PROXY |<----- lan cable ----->| RB1000 |

But why is this echo?
I’ve seen it work this way in other places.

ok i thought u bridged the two interfaces and jacked the cable into both, but that aside what is the ip adresses on both ends?

To demonstrate, I’ll put any ip here:

  • In the Proxy server:
    Bridge interface: br0 (in this bridge we have the cards eth0 and eth1)
    Eth0: get the signal from the router WAN
    Eth1: sends the signal to the LAN

    \
  • Router WAN IP: 192.168.0.1/29
  • Proxy Bridge IP: 192.168.0.2/29
  • RB1000 IP: 192.168.0.3/29


    INTERNET <##########> WAN ROUTER <----> |eth0–PROXY–eth1| <----> RB1000
    *****************************192.168.0.1/29*******192.168.0.2/29 (br0)*****192.168.0.3/29



    I think now it will get better to understand


    Tks

ok if i understand correctly u bridged the eth0 and eth1 adapters and it is bypassing the mikrotik rb?

Yes, exactly.

I did other tests and still goes to 100% CPU usage when I connect the bridge to RB.

Tks

ok try removing the bridge you added and setup a simple route