安装SS
sudo apt-get install python-gevent python-pip
sudo apt-get install shadowsocks
sudo vim /etc/shadowsocks.json
{
“server”: “**”,
“server_port”: 4196,
“local_address”: “127.0.0.1”,
“local_port”: 1080,
“password”: “**”,
“method”: “aes-256-cfb”,
“fast_open”: true,
“workers”: 1
}
sslocal -c /etc/shadowsocks.json
开启后, network开启代理socks host: 127.0.0.1 端口1080
如何终端翻墙?
sudo apt-get install proxychains
sudo vim /etc/proxychains.conf(需要root权限,用sudo),然后将最下面一行 socks4 127.0.0.1 9050改为socks5 127.0.0.1 1080
使用方法:在想用代理的命令前加上sudo proxychains 即
sudo proxychains git pull origin master
ss客户端
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5
请空Ubuntu DNS方法
作者:Anderson大码渣,欢迎关注我的简书: Anderson大码渣sudo /etc/init.d/dns-clean start