gost v2安装配置
https://github.com/ginuerzh/gost
编辑gost.json文件
{
"Debug":true,
"Retries":3,
"Routes":[
{
"Retries":3,
"ServeNodes":[
"socks5://new_username:new_password@:10001"
],
"ChainNodes":[
"socks5://source_username:source_password@1.1.1.1:10101"
]
}
]
}
可以搭配配置supervisorctl去管理
[program:socks5]
command=/usr/bin/gost -C '/etc/gost/gost.json'
directory=/etc/gost/
autostart=true
autorestart=true
stderr_logfile=/var/log/socks5.err.log
stdout_logfile=/var/log/socks5.out.log
评论 (0)