Differences
This shows you the differences between two versions of the page.
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/10/08 23:05] billdozor |
||
---|---|---|---|
Line 90: | Line 90: | ||
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 / | ||
+ | # Blocked Websites | ||
+ | www.google.com</ | ||
+ | - Create a new acl in the main squid config | ||
+ | - <code bash>vim / | ||
+ | |||
+ | ## Blocked Sites ## | ||
+ | acl blockedsites dstdomain "/ | ||
+ | http_access deny blockedsites</ | ||
+ | - Reload Squid for changes to take affect | ||
+ | - <code bash> | ||
+ | |||
+ | ===== Block Key Words ===== | ||
+ | * Create file of key words | ||
+ | * <code bash>vim / | ||
+ | |||
+ | # Blocked key words | ||
+ | gaming</ | ||
+ | * Create a new ACL in the main squid config | ||
+ | * <code bash>vim / | ||
+ | ## Block keywords ## | ||
+ | acl blockedkeywords url_regex -i "/ | ||
+ | http_access deny blockedkeywords</ | ||
+ | |||
+ | ---- |