linux命令行使用shadowsocks

安装:

pip install shadowsocks

配置:

新建配置文件ss.json

{
	"server": "x.x.x.x",
	"server_port": 8388,
	"password": "password",
	"method": "aes-256-cfb",
	"remarks": "",
	"auth": false,
	"timeout": 5
}

运行:

# sslocal -c ss.json
INFO: loading config from ss.json
2017-03-29 10:11:45 WARNING  warning: your timeout 5 seems too short
2017-03-29 10:11:45 INFO     loading libcrypto from libcrypto.so.10
2017-03-29 10:11:45 INFO     starting local at 127.0.0.1:1080

如果需要后台运行

# sslocal -d start -c ss.json

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注