How to Setup “Squid Proxy” Server on Ubuntu and Debian

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

27 Responses

  1. alex says:

    Thanks for your how to guide.

    ACL Concept works from head to tail line for line, so i would change the line http_access allow with the http_access deny to block the unwanted sites.

    Correct me if I’m wrong!

  2. Chris LaRose says:

    I am pulling my hair out. Every time I check my IP (web running thru squid proxy) from a site like, I get a different IP address each time. I only want the public IP address of the squid proxy server to show.

    • Ravi Saive says:


      Have you configured your client browser to use your Squid Proxy Server IP as proxy?

      • ChrisL says:

        Yes, it is a PHP CURL program actually. It seems from my end that it is working properly. The only thing that was alarming was in testing I would go to and that site would say that my IP is not what it should be – and every time I would test it there, it would give a different IP address.

        I checked logs of web servers and PHP headers, etc. Everything seems fine and I think it is working properly – just the weird issue with got me concerned.

  3. vijay savant says:


    i’m implement squid in my office but i faced lots of problem user end.
    1) Outlook send and recive problem.

    I have to DMZ setup on squid server for accessing my another network.
    3 lan lan port on my squid server, static ip set on eth0, internal network set on eth1.
    how i configure DMZ on eth2

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.