linux_wiki:squid_proxy

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:squid_proxy [2015/10/07 23:32]
billdozor
linux_wiki:squid_proxy [2015/11/07 23:23]
billdozor [Squid Proxy]
Line 5: Line 5:
 Squid is "a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages." Squid is "a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages."
  
-Official Site: http://www.squid-cache.org/+Links: 
 +  * Official Site: http://www.squid-cache.org/ 
 +  * Squid Logs: http://wiki.squid-cache.org/SquidFaq/SquidLogs
  
 **Checklist** **Checklist**
Line 90: Line 92:
 Squid can also be used as a web filter. Squid can also be used as a web filter.
  
 +===== Block Domains =====
 +  - 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 blockedsites dstdomain "/etc/squid/blocked-sites.conf"
 +http_access deny blockedsites</code>
 +  - Reload Squid for changes to take affect
 +    - <code bash>service squid reload</code>
 +
 +===== Block Key Words =====
 +  * Create file of key words
 +    * <code bash>vim /etc/squid/blocked-keywords.conf
 +
 +# Blocked key words
 +gaming</code>
 +  * Create a new ACL in the main squid config
 +    * <code bash>vim /etc/squid/squid.conf
 +## Block keywords ##
 +acl blockedkeywords url_regex -i "/etc/squid/blocked-keywords.conf"
 +http_access deny blockedkeywords</code>
 +
 +----
  • linux_wiki/squid_proxy.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)