Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:squid_proxy [2015/10/07 23:32] billdozor |
linux_wiki:squid_proxy [2019/05/25 23:50] (current) |
||
---|---|---|---|
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:// | + | Links: |
+ | * Official Site: http:// | ||
+ | * Squid Logs: http:// | ||
**Checklist** | **Checklist** | ||
- | * Distro: Enterprise Linux 6.x | + | * Distro(s): Enterprise Linux 6 |
---- | ---- | ||
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 / | ||
+ | # 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</ | ||
+ | |||
+ | ---- |