linux_wiki:squid_proxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:squid_proxy [2015/10/07 23:22]
billdozor created
linux_wiki:squid_proxy [2015/10/07 23:41]
billdozor [Web Filter]
Line 73: Line 73:
 ---- ----
  
 +====== Point Clients to Squid ======
 +
 +You can configure web browsers to go through Squid to take advantage of cached content.
 +
 +  * Firefox
 +    * Options > Preferences > Advanced > Network tab > Connection Settings
 +    * Select "Manual proxy configuration"
 +    * HTTP Proxy: <server-ip>
 +    * Port: <squid-listening-port>
 +    * Click Ok
 +
 +----
 +
 +====== Web Filter ======
 +
 +Squid can also be used as a web filter.
 +
 +  - Create a file of sites to reference
 +    - <code bash>vim /etc/squid/blocked-sites.conf
 +
 +# Blocked Websites
 +www.google.com</code>
 +  - Create a new acl in the main squid config
 +    - <code bash>vim /etc/squid/squid.conf
 +
 +# Blocked Sites ACL
 +acl blockedsites dstdomain "/etc/squid/blocked-sites.conf"
 +
 +# Deny access to the blockedsites ACL
 +http_access deny blockedsites</code>
 +  - Reload Squid for changes to take affect
 +    - <code bash>service squid reload</code>
 +
 +----
  • linux_wiki/squid_proxy.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)