Ubuntu ss 配置及其使用
安装ss
sudo pip3 install shadowsocks
|
配置服务器并连接
需要创建一个.json的配置文件,用配置文件里的参数进行连接
mkdir shadowsocks touch shadowsocks/ss.json vim shadowsocks/ss.json
""" { "server":"1.1.1.1", "server_port":8388, "local_address": "127.0.0.1", "local_port":1080, "password":"your passwd", "timeout":300, "method":"aes-256-cfb" } """
sslocal -c shadowsocks/ss.json
|
proxychains 命令行也走代理
安装proxychains
sudo apt-get install proxychains
|
配置proxychains
touch /etc/proxychains.conf vim /etc/proxychains.conf
""" socks5 127.0.0.1 1080 """
|