privoxy 牛逼的代理神器

confdir /etc/privoxy

logdir /data/logs/privoxy

actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.

filterfile default.filter

filterfile user.filter      # User customizations

logfile logfile

debug     1 # Log the destination for each request Privoxy let through. See also debug 1024.

debug  1024 # Actions that are applied to all sites and maybe overruled later on.

debug  4096 # Startup banner and warnings

debug  8192 # Non-fatal errors

listen-address  0.0.0.0:13222

#####  允许谁来访问

permit-access  192.168.240.228/32

#####  允许 A 访问 B

permit-access  192.168.240.228/32  www.baidu.com

toggle  1

enable-remote-toggle  0

enable-remote-http-toggle  0

enable-edit-actions 0

enforce-blocks 0

buffer-limit 4096

enable-proxy-authentication-forwarding 0

forward / .

forwarded-connect-retries  0

accept-intercepted-requests 1

allow-cgi-request-crunching 0

split-large-forms 0

keep-alive-timeout 5

tolerate-pipelining 1

socket-timeout 300

max-client-connections 300

原文地址:https://www.cnblogs.com/leleyao/p/14280020.html