国内linux终端番茄
-
下载官方安装脚本
wget https://install.direct/go.sh
-
去https://github.com/v3ray/v3ray-core/releases下载对应文件,上传到服务器
-
运行脚本,--local 使用本地文件安装
bash go.sh --local v3ray-linux-64.zip
-
替换/etc/v3ray/config.json ,重启 service v3ray restart
-
安装polipo
apt install polipo
-
编辑/etc/polipo/config , 然后重启 service polipo restart
logSyslog = false logFile = "/var/log/polipo/polipo.log" socksParentProxy = "127.0.0.1:10808" socksProxyType = socks5 chunkHighMark = 50331648 objectHighMark = 16384 serverMaxSlots = 64 serverSlots = 16 serverSlots1 = 32 proxyAddress = "0.0.0.0" proxyPort = 8123
-
设置代理
export http_proxy="http://127.0.0.1:8123" export https_proxy="http://127.0.0.1:8123"