2023年7月20日发(作者:)
privoxysslocal本地代理 privoxy sslocal本地代理
privoxy 安装
yum install privoxy -y 配置config配置⽂件confdir /etc/privoxylogdir /var/log/privoxyfilterfile logfile logfiledebug 1 #记录请求地址debug 1024 #记录被拒的请求及理由debug 4096 #记录启动信息及警告debug 8192 #记录⾮致命错误listen-address 0.0.0.0:8118toggle 1enable-remote-toggle 0enable-remote-http-toggle 0enable-edit-actions 0enforce-blocks 0buffer-limit 4096enable-proxy-authentication-forwarding 0 forward-socks4 / 127.0.0.1:1080 . forward-socks5t / 127.0.0.1:1080 . forward 192.168.*.*/ . forward 10.*.*.*/ . forward *.*.*.*/ .forwarded-connect-retries 0accept-intercepted-requests 0allow-cgi-request-crunching 0split-large-forms 0keep-alive-timeout 300tolerate-pipelining 1socket-timeout 300 安装 sslocal服务 使⽤python⾥⾯pip安装pip install sslocal 配置{ "server":"0.0.0.0", "server_port":xxx, "local_address":"127.0.0.1", "local_port":1080, "password":"", "timeout":300, "method":"aes-256-cfb", "fast_open":false} sslocal 配置 { "server":"127.0.0.1",
"server_port":xxx,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
} 启动服务服务端/bin/python /usr/bin/ssserver -c /etc/server/ -d start客户端/usr/bin/python2 /usr/bin/sslocal -c ivoxy 中继/usr/sbin/privoxy --pidfile /run/ --user privoxy /etc/privoxy/config
发布者:admin,转转请注明出处:http://www.yc00.com/web/1689811789a288197.html
评论列表(0条)