Squid – Caching Proxy Server

Squid is a high-performance caching proxy server supporting HTTP, HTTPS, and FTP. It reduces bandwidth...

Networking Tools Linux Open Source

Squid is a high-performance caching proxy server supporting HTTP, HTTPS, and FTP. It reduces bandwidth usage and improves response times by caching frequently accessed content. Widely used in enterprises and ISPs, Squid provides content filtering, access control, and detailed logging capabilities.

Key Features

  • Content Caching – Reduces bandwidth and improves speed
  • Access Control – ACLs for user and content filtering
  • SSL Bumping – HTTPS inspection capabilities
  • Delay Pools – Bandwidth management
  • Clustering – Scale with multiple instances

Installation

sudo apt install squid    # Debian/Ubuntu
sudo dnf install squid    # Fedora/RHEL

Basic Configuration

# /etc/squid/squid.conf
http_port 3128
acl localnet src 192.168.1.0/24
http_access allow localnet
http_access deny all
cache_dir ufs /var/spool/squid 1000 16 256

# Start service
sudo systemctl enable --now squid

Download Squid

Was this article helpful?