ubuntu:squid:block_websites
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:squid:block_websites [2019/12/10 00:26] – created peter | ubuntu:squid:block_websites [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - Squid - Block Websites ====== | ====== Ubuntu - Squid - Block Websites ====== | ||
- | You can block websites from the proxy users, just create a separate file that will be the list of domains you want to block and point that file from the squid configuration | + | You can block websites from the proxy users, just create a separate file that will be the list of domains you want to block and point that file from the squid configuration, |
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Create a file to contain blocked websites ===== | ||
<code bash> | <code bash> | ||
Line 10: | Line 14: | ||
---- | ---- | ||
+ | |||
+ | ===== Configure Squid to block Websites ===== | ||
Change the squid configuration to block those websites under acl list and http_access list. | Change the squid configuration to block those websites under acl list and http_access list. | ||
Line 30: | Line 36: | ||
There are a lot of ready to use lists on the web and they are categorized, | There are a lot of ready to use lists on the web and they are categorized, | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | https:// | ||
ubuntu/squid/block_websites.1575937616.txt.gz · Last modified: 2020/07/15 09:30 (external edit)