2010-05-11 15:01:34 +02:00
|
|
|
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:
|
|
|
|
|
2010-05-12 17:44:10 +02:00
|
|
|
groupadd -g 206 privoxy
|
|
|
|
useradd -u 206 -g 206 -c "Web Proxy" -d /dev/null -s /bin/false privoxy
|
2010-05-11 15:01:34 +02:00
|
|
|
|
2014-12-18 07:16:27 +01:00
|
|
|
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
|