本文最后更新于 2206 天前,其中的信息可能已经有所发展或是发生改变。
TinyProxy
apt-get install tinyproxy
//安装
sudo vim /etc/tinyproxy.conf
//配置参数文件
sudo service tinyproxy start
//运行
sudo service tinyproxy restart
//重启
sudo service tinyproxy stop
//停止
ShadowSocks
install python-pip #pip 安装ss
pip install shadowsocks
vim /etc/shadowsocks.json
{
"server":"0.0.0.0",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"密码",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
}
#启动服务
ssserver -c /etc/shadowsocks.json -d start
#停止服务
ssserver -c /etc/shadowsocks.json -d stop