Want to control internet at home or office using Squid proxy server? - part 1
Amitha's Linux Systems Administration
0:00 / 0:00
Want to control internet at home or office using Squid proxy server? - part 1
18 просмотров · 6 дн. назад
Amitha's Linux Systems Administration
21 подписчик
18 просмотров · 6 дн. назад
This video describes configuring squid proxy server to block particular websites and control internet access hours.
First please unblock the port 3128 from ubuntu firewall by entering the following command :
sudo ufw allow 3128/tcp
sudo nano /etc/squid/blocked_sites.txt
.facebook.com
.tiktok.com
.instagram.com
.youtube.com
sudo chown root:proxy /etc/squid/blocked_sites.txt
sudo chmod 640 /etc/squid/blocked_sites.txt
640 (u=r+w, g=r, o=no permission)
acl blocked_sites dstdomain "/etc/squid/blocked_sites.txt"
http_access deny blocked_sites
http_access allow localnet
http_access deny all