【ubuntu】ubuntu下shadowsocks的配置


准备从windows转移到ubuntu下

网络代理必不可少。

在ubuntu终端输入以下命令

sudo apt install shadowsocks

安装shadowsocks之后

编辑shadowsocks.json进行配置,这里使用vim编辑

vim /etc/shadowsocks.json
{
"server":"你的服务器ip",
"server_port":服务器端口,
"local_port":1080,
"password":"连接密码",
"timeout":600,
"method":"aes-256-cfb"
}

之后使用sslocal运行

sslocal -c /etc/shadowsocks.json

出现这样说明运行成功

之后需要打开浏览器的代理配置,对我使用的firefox,在右上角的setting->preference->Network Proxy

按照下图配置,注意选中sock5和proxy DNS

这样就可以愉快的Surfing free~

猜你喜欢

转载自blog.csdn.net/qq_37935670/article/details/80360945
今日推荐