Web proxy squid

April 1, 2017

–>
PACKAGES NEEDED FOR CONFIGURATION
squid
IF THE PACKAGES ARE NOT AVAILABLE INSTALL THROUGH YUM INSTALLER
yum install squid
THE MAIN CONFIGURATION CAN BE EDITED AS FOLLOWS
vim /etc/squid/squid.conf
http_port 3128

SEARCH FOR THE WORD /OUR_NETWORKS, THEN ENTER THE FOLLOWING LINES

acl example src 103.242.117.4
http_access allow example

–> You can now refer to this network as “example” elsewhere in the configuration file.
–> src means that the IP specified is the source Ip(s) for this acl
DAEMON SERVICES SHOULD BE STARTED AND ENABLED AFTER REBOOT
service squid start/restart/reload
chkconfig squid on

–> To set the proxy settings in Firefox, navigate to
Edit->Preferences. In the General settings, click on the Connection Settings… button. Click the Manual proxy configuration radio button. Add localhost in the HTTP Proxy: box, and 3128 in the Port: box. Click OK to accept the changes.
–> Try accessing a web page somewhere.