summaryrefslogtreecommitdiffstats
path: root/network/privoxy/README
blob: f1696bd9c74e9d9ab43e2f43104790eab02f80fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Privoxy is a web proxy  with advanced filtering capabilities for 
protecting privacy, modifying web page data, managing cookies, 
controlling access, and removing ads, banners, pop-ups and other 
obnoxious Internet junk. Privoxy has a very flexible configuration 
and can be customized to suit individual needs and tastes. 
Privoxy has application for both stand-alone systems and multi-user 
networks.

Before executing the script, you will need to create 
a privoxy user and group.  To do that, run the following commands:

groupadd -g 206 privoxy
useradd -u 206 -g 206 -c "Web Proxy" -d /dev/null -s /bin/false privoxy

To run privoxy at boot, the following code needs to
be added to /etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.privoxy ]; then
    /etc/rc.d/rc.privoxy start
  fi

Then add the following to /etc/rc.d/rc.local_shutdown:

  if [ -x /etc/rc.d/rc.privoxy ]; then
    /etc/rc.d/rc.privoxy stop
  fi