NOTE: this special configuration is only necessary if the Squid box is not the normal gateway for the router. If you make the Squid box the default gateway and pass all traffic through it out of the router then these rules are not necessary.
I will guide you through the process of installing and configuring Squid, setting up firewall rules, and testing the setup to ensure everything is working as expected.

This page explains how to configure and setup Linux as a transparent proxy using the IPtables and Squid caching server on RHEL and CentOS. To simplify access for users while improving bandwidth efficiency and response time by using the content caching, configure Squid as a caching proxy without authentication. You need to limit access to the proxy, based on IP ranges only. The squid package includes the /etc/squid/squid.conf file. Learn to install and configure Squid proxy on Linux systems to reduce bandwidth and improve response times through effective caching. Remember all workstations in our network have our router with IP address of 10.0.0.1 set as default gateway. It means when a browser makes HTTP (or HTTPS) connection to some web server in the Internet, traffic from that workstation to port 80 (or 443) will actually be sent to our router. Common settings Squid offers various modes and common settings, that will be explained here. You need to configure the workstation to take advantage of the proxy.
Furthermore, visual representations like the one above help us fully grasp the concept of Squid Router Firewall Config.
Common settings Squid offers various modes and common settings, that will be explained here. You need to configure the workstation to take advantage of the proxy.
This particular example perfectly highlights why Squid Router Firewall Config is so captivating.
Remember all workstations in our network have our router with IP address of 10.0.0.1 set as default gateway. It means when a browser makes HTTP (or HTTPS) connection to some web server in the Internet, traffic from that workstation to port 80 (or 443) will actually be sent to our router.