how can i connect squid with mikrotik via one NIC interface
/ip firewall nat
add action=dst-nat chain=dstnat comment=Forward_WWW_to_proxy disabled=no dst-address-list=!WWW-No-proxy \
dst-port=8080,3128,80 protocol=tcp src-address=192.168.x.x/22 src-address-list=!Direct-No-Proxy \
to-addresses=192.168.y.y to-ports=3128
You must to change src-address=192.168.x.x/22 to your client network,
and to-addresses=192.168.y.y to your Squid IP address.
Add to address list WWW-No-proxy hosts which accessed without proxy.
and add to address list Direct-No-Proxy hosts which access internet not thru proxy
I see that you wrote in the 192.x.x.x address. Can this be used on a routed network as well?
In other words do you have to be on a nat’ed network or can you just redirect from your routed network?
-Michael