We are using mikrotik as our bandwidth shaper and we have just installed a Cache server (Linux + squid). We are marking all packets using port 80 and we are redirecting it to the cache server. the Caching is working , but what we have noticed is that the total traffic on port 80 does not match the amount of traffic being redirected to the cache server .
The only thing I see may be at issue would be your source IP address - 0.0.0.0/0. Typically you also put the source IP address space you want to use the proxy with in here. As you have anything coming in eth1-downlink can use the proxy.
I also have never seen the amount of traffic exactly match on a proxy. They are somewhat close but never match.
I expected a little diference but you have a whole lot of difference - so that means either everyone is going somewhere the cache won’t cache or not all the http traffic is being ‘tagged’ by your rule so not hitting the cache.
Needs to be the first dst-nat rule you have - is it? If not make it that way - the only exception would be if you placed a rule to allow access to the MT router itself via http on your incoming interface (in-interface=eth1_downlink ) before this rule - or you need to exclude the MT router’s address from the source address list.
parent-proxy: x.x.x.x:8080
I know you mean to hide the IP address but this should be 0.0.0.0:0
You didn’t mention anything about the Access list being activated either…have you done that?