Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # http://www.instructables.com/id/Set-up-web-content-filtering-in-4-steps-with-Ubunt/?ALLSTEPS
- apt-get install tinyproxy dansguardian
- nano -c /etc/dansguardian/dansguardian.conf
- # UNCONFIGURED
- filterport = 8080
- proxyport = 3128
- nano -c /etc/tinyproxy.conf
- Port=3128
- /etc/init.d/dansguardian start
- /etc/init.d/tinyproxy start
- ------------------------
- dansguardian.conf - From here you set global variables such as port numbers, adapters to bind to, etc.
- dansguardianf1.conf - This file holds the settings for filtergroup 1, and can be copied and the copies altered if multiple filter groups are used. Here is also where you will change the naughtyness limit of the default filter group. The recommended setting for this variable goes like this - 50 for young children, 100 for old children, 160 for young adults. The default setting is 50.
- bannedsitelist - where you will go to ban entire sites like example.com
- bannedurllist - where you will go to ban specific URLs like example.com/~user/index.htm
- bannedphraselist - allows you to specify phrases that will be scanned for in each requested page, e.g. Potty Humor this is useful if there are specific things that still make it through after the filter is set up.
- bannediplist - for a total ban of a site, specify the IP address. This could have uninteded consequences as some sites share IPs with other sites.
- exceptioniplist - for whitelist configurations - allows specific IPs
- exceptionsitelist - for whitelist configurations - allows specific sites like example.com
- exceptionurllist - for whitelist configurations - allows specific urls, but not entire sites, like example.com/~user/index.htm
- exceptionphraselist - exempts specific phrases if they are blocked needlessly
Advertisement
Add Comment
Please, Sign In to add comment