Aim: Configuration of Proxy Server.
Government college of engineering Yavatamal
Aim: Configuration of Proxy Server.
To check the current version of Ubuntu type the below command
lsb_release -a
update and install squid
sudo apt update
sudo apt-get install squid
edit configuration file
sudo vim /etc/squid/squid.conf
Search http_access and paste the code following code there
#Second try test ashwin
acl localhost scr your_ip_address
acl blocksite dstdomain "/etc/squid/blocksite
http_access deny blocksite
http_access allow localnet
#this ashwin comment : add finally deny all other access to this proxy
http_access allow all
add the site to be blocked by tying this command anding the site URL inside the file
sudo vim /etc/squid/blocksite
restart squid
systemctl restart squid
Done! 🙂
Test proxy on firefox
go to firefox settings and search for proxy
add the below details there
and press ok
Now facebook.com is no longer accessible
Done! 🙂
please login and hit the like button for my motivation😥