Mikrotik and Squid = Transparent Proxy

In business networks there is a big usage of  transparent proxy also home networks can use it also.

Thanks to that kind of server we can monitoring a lot of meta data and value information from client network and also prevent a lot of virus infections.

Lets assume that our server (192.168.0.10) have Ubuntu or Debian operation system installed on it and the lan network is 192.168.0.0/24.

On server there is also software firewall (iptables) which we will use to forward connection using commands below:

Next, on Mikrotik router we will add firewall rules to forward chosen clients (via list SQUID_CLIENTS) to server with squid proxy:

This way we finished configuration of proxy server which will capture web traffic and don’t need to be configure on client side.

Facebooktwittergoogle_plusreddit

2 thoughts to “Mikrotik and Squid = Transparent Proxy”

    1. squid is 192.168.0.10
      netmask is 255.255.255.0 or /24
      gateway is 192.168.0.1
      any other client get ip from dhcp from network 192.168.0.0/24

      To be honest not much there is to know more, most important is the squid ip to forward traffic to it.

      Only thing important is to add client IP that you want to push thru squid to mikrotik SQUID_CLIENTS address list;

Leave a Reply

Your email address will not be published. Required fields are marked *

*