How to Install Squid Proxy Server on Ubuntu 16.04

Опубликовано: 30 Сентябрь 2024
на канале: Liquid Web
3,656
35

In this video, we demonstrate how to install and configure a Squid Proxy server on Ubuntu 16.04

Commands used:
apt-get update
apt install squid
cp /etc/squid/squid.conf /etc/squid/squid.conf.bak

vim /etc/squid/squid.conf (change http_port to 2946)
1190 http_access deny all - (change to “allow all”)

#acl our_networks src 10.1.1.0/16 10.1.2.0/16
#http_access allow our_networks
-- VVV change to VVV --
acl our_networks src 10.1.1.0/16 10.1.2.0/16
http_access allow our_networks

acl liquidweb src 10.1.10.0/24
acl liquidweb time M T W T F 9:00-17:00

:wq (to save the file in vim)

systemctl restart squid.service

The related article for this video can be found here: https://www.liquidweb.com/kb/install-...

For more information on our line of Cloud Dedicated servers, visit: https://www.liquidweb.com/products/cl... or discover our Cloud Bare Metal servers at: https://www.liquidweb.com/products/cl...

Video by: Justin Palmer