Squid is an easy to install and configure proxy. Even for non Linux users/admins the configuration is quite simple. This example is done on CentOS Linux 8 and Squid 4.4. Show First step is to install CentOS – you get the latest ISO here: After you installed and configured your Linux installation, the first thing is to update your OS. You can see all needed updates with this command:
After you reviewed the updates, you can install all updates with this command:
Now we adding the epel-release repository and updating the packages again:
All updates are now installed, and we are now able to install Squid:
To make sure that Squid is running and will start automatically we are using this commands:
We can verify the Squid status with:
Change the configuration fileThe Squid proxy configuration is done via a config file – we have no web interface, but this is no big issue. It’s quite easy and pretty straight forward to add the whitelisting functionality and the whitelisted websites.
Now we can change the configuration.
The important parts are the following
If you need to add SSL ports, or other secure ports you need to add them to the “SSL_ports” or “Safe_ports” ACL list.
To test the connection, you can run the following command:
CentOS Firewall configurationBefore you can start using the proxy, you need to open the CentOS firewall: Make sure in which zone you are located:
The Squid default proxy port is 3128, so if you changed it, make sure you change it also in the following command:
Now we finished the configuration. To review the traffic there is a live logging functionality on the squid server
Please follow and like us: What ports need to be open for squid proxy?As Squid supports more protocols than HTTP, redirect requests from other ports to the proxy, such as FTP (port 21), HTTPS, or SSL (port 443). The example uses the default port 3128.
How do I bypass Squid proxy?Proxies, including Squid, can be circumvented if they were setup improperly.. Log in to your computer. ... . Uncheck the tick-boxes for "Automatically Detect Settings," "Use automatic configuration script" and "Use a proxy server for your LAN." Click "OK" to any open dialog boxes and close Internet Explorer.. Is Squid a web proxy?Squid is a full-featured web proxy cache server application which provides proxy and cache services for Hyper Text Transport Protocol (HTTP), File Transfer Protocol (FTP), and other popular network protocols.
Does Squid proxy have a GUI?Full Squid User Interface
We provide a full GUI for configuration and management of Squid, as well as reporting, alerts, APIs, graphing and more. You can set up a brand new Squid Cache installation or integrate with your existing one.
|