O'Reilly logo

Squid Proxy Server 3.1 Beginner's Guide by Kulbir Saini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Diverting HTTP traffic to Squid

We learned in previous sections that we need to divert all HTTP traffic from our clients to our proxy server. Later, we'll have a look at the ways in which we can divert HTTP traffic to our Squid proxy server.

Using a router's policy routing to divert requests

If we have an arrangement where all our client requests are passing through a router, we can utilize the router's ability to divert the packets, to redirect them to our Squid proxy server. Therefore if we set our router's policy to redirect all the packets with port 80 to the Squid server and all other traffic is sent to the internet directly, it will look like the following diagram:

I n the previous diagram, we can see that the router is passing all the HTTP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required