i impleneted forward prxy in my network by squid , i block instagram and facebook , by this i confihure mnual proxy to my other dice ( phone laptops) and verifyd not able to access
-
Installed Squid Proxy
I installed the Squid proxy server on my network machine to act as a forward proxy.
sudo apt update
sudo apt install squid
-
Started the Squid Service
I started and enabled the Squid service to ensure it runs automatically on system boot:
sudo systemctl start squid
sudo systemctl enable squid

-
Configured Squid to Block Websites
I edited the Squid configuration file (usually /etc/squid/squid.conf) and added the following rules to block access to Facebook and Instagram:
acl blockedSites dstdomain .facebook.com
acl blockedSites dstdomain .instagram.com
http_access deny blockedSites
http_access allow localnet

-
Restarted Squid to Apply Changes
I restarted the Squid service to enforce the new blocking rules:
sudo systemctl restart squid
-
Configured Devices to Use the Proxy
I manually set up the proxy settings on all devices (phones, laptops) to route traffic through the Squid server.
Verified the Blocking Worked
I tested accessing Facebook and Instagram from the devices and confirmed they were successfully blocked.


Result
-
I successfully set up a forward proxy in my network using Squid.
-
I restricted access to Facebook and Instagram for all devices using the proxy.