Configuring Squid Proxy

Опубликовано: 09 Октябрь 2024
на канале: Usman Asim
286
0

A proxy server is the one used to provide shared internet connectivity to the clients running
private IP addresses. Squid is a widely-used proxy cache for Linux and UNIX platforms.

Commands
#sudo apt-get install squid

#sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original

#sudo nano /etc/squid/squid.conf
#http_port 8080
#visible_hostname testproxy
#acl fortytwo_network src 192.168.42.0/24
#http_access allow fortytwo_network
#acl biz_network src 10.1.42.0/24
#acl biz_hours time M T W T F 9:00-17:00
#http_access allow biz_network biz_hours

--------------------------
#service squid restart

#cd /var/log/squid/
#sudo tail -f access.log


sudo /var/lib/apt/lists