8
把Orangepipc2打造成shadowsocks服务器
source link: https://www.lujun9972.win/blog/2018/02/26/%E6%8A%8Aorangepipc2%E6%89%93%E9%80%A0%E6%88%90shadowsocks%E6%9C%8D%E5%8A%A1%E5%99%A8/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
把Orangepipc2打造成shadowsocks服务器
安装shadowsocks
sudo apt install shadowsocks-libev
会在
/usr/bin
下创建两个文件:ss-local
和ss-server
创建Shadowsocks配置文件 "/etc/shadowsocks-libev/jp1.json"
{ "server": "jp1-sta9.27dzn.site", "server_port": 17588, "local_address": "0.0.0.0", "local_port":1080, "password":"密码", "timeout":300, "method": "chacha20-ietf-poly1305", "fast_open": false, "workers": 1 }
-
nohup ss-local -c /etc/shadowsocks-libev/jp1.json &
设置自动启动服务
sudo systemctl enable [email protected] sudo systemctl start [email protected]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK