Debian Tutorials Copy/Paste tutorials for Debian based Linux distros

25Dec/092

Installing and configuring Squid proxy server

Squid is a caching proxy supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.

1. Install the Squid package

apt-get install squid

2. Allow your ip network to use the proxy server (pico /etc/squid/squid.conf). Append lines similar to these to your config

file:

acl mynetwork src 192.168.1.0/255.255.255.0
http_access allow mynetwork

Replace 192.168.1.0/255.255.255.0 with the network that should be able to use the proxy.

3. Don't forward client ip information (optional)

forwarded_for off

4. Restart the daemon

/etc/init.d/squid restart

5. Configure your web browser or application your would like to use the proxy server to connect to serverip at port 3128.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Reddit
  • StumbleUpon
  • Technorati
  • email
  • Live
  • Slashdot
  • LinkedIn
  • Print
  • Tumblr
  • Twitter
  • Netvibes
  • Netvouz
  • PDF
  • Yahoo! Bookmarks
Comments (2) Trackbacks (0)
  1. Perfect, thank you. This was what i Need – simple and easy configuration for simple reverse proxy :)

  2. Great step by step tutorial. This will definitely help me and ofcourse save a lot of time :) I added this to my bookmarks ;)


Leave a comment


No trackbacks yet.