In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
Installing and configuring Squid proxy server
Ástþór IPSquid 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.