Skip to content

Instantly share code, notes, and snippets.

@hsupu
Last active February 17, 2022 01:34
Show Gist options
  • Save hsupu/db69610db4d900be1d938a9a74cde990 to your computer and use it in GitHub Desktop.
Save hsupu/db69610db4d900be1d938a9a74cde990 to your computer and use it in GitHub Desktop.
Privoxy config.txt
# sync at 220217
listen-address 127.0.0.1:50001
forward-socks5 / 127.0.0.1:50000 .
confdir .
#actionsfile my-block.action
#actionsfile my-direct.action
#actionsfile match-all.action # 应用于全体的规则,可被后续规则覆盖
#actionsfile default.action # 内置规则
#actionsfile user.action # 用户自定义规则
#filterfile default.filter # 内置规则
#filterfile user.filter # 用户自定义规则
logdir .
logfile privoxy.log
# debug 1024 # 记录阻断及原因
debug 4096 # 记录初始化警告
debug 8192 # 记录非关键错误
show-on-task-bar 0
activity-animation 0
enable-remote-toggle 0
enable-remote-http-toggle 0
max-client-connections 4096
listen-backlog 51200
receive-buffer-size 131072 # 128KB
socket-timeout 30 # seconds
connection-sharing 0
tolerate-pipelining 0
keep-alive-timeout 5 # seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment