79
J
关于使用privoxy的action 文件的命令行总结
wget https://raw.githubusercontent.com/zfl9/gfwlist2privoxy/master/gfwlist2p… 下载这个生成gfwlist的工具
bash gfwlist2privoxy '127.0.0.1:1080' 这个命令是生成action文件,且指定你的socks5端口,请和你的socks5服务端口一致
然后,看下面这几句话,三个命令行就行。
Generated file: 'gfwlist.action'. Please put it in privoxy config directory.
Usually, the directory is '/etc/privoxy'. If yes, then exec following command:
mv -f gfwlist.action /etc/privoxy
echo 'actionsfile gfwlist.action' >>/etc/privoxy/config
service privoxy restart (via SysVinit)
systemctl restart privoxy.service (via Systemd)