类别:LINUX / GNU / 日期:2020-04-02 / 浏览:8481 / 评论:26
虽然网上很多人都在用SS四合一的脚本,但是我个人还是用习惯了秋水逸冰的脚本,因此在这里还是推荐各位使用这个命令,个人用着感觉还算是比较稳定的,到目前为止都没被墙过。以下是项目的大概内容:
系统支持:CentOS,Debian,Ubuntu
内存要求:≥128M
服务器端口:自己设定(如不设定,默认为 8989)
密码:自己设定(如不设定,默认为 teddysun.com)
加密方式:自己设定(如不设定,默认为 aes-256-cfb)
协议(Protocol):自己设定(如不设定,默认为 origin)
混淆(obfs):自己设定(如不设定,默认为 plain)
该部分内容已隐藏,评论后 刷新页面 可见。
安装完成后,提示如下:
Congratulations, ShadowsocksR server install completed! Your Server IP :your_server_ip Your Server Port :your_server_port Your Password :your_password Your Protocol :your_protocol Your obfs :your_obfs Your Encryption Method:your_encryption_method Welcome to visit:https://shadowsocks.be/9.html Enjoy it!
脚本安装完成后,会自动将 ShadowsocksR 加入开机运行,以下是常用命令:
启动:/etc/init.d/shadowsocks start 停止:/etc/init.d/shadowsocks stop 重启:/etc/init.d/shadowsocks restart 状态:/etc/init.d/shadowsocks status 配置文件路径:/etc/shadowsocks.json 日志文件路径:/var/log/shadowsocks.log 代码安装目录:/usr/local/shadowsocks
以下是多用户配置实例:
{
"server":"0.0.0.0",
"server_ipv6": "[::]",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"9000":"onx8.com",
"9001":"onx8.com",
},
"timeout":300,
"method":"aes-256-cfb",
"protocol": "origin",
"protocol_param": "",
"obfs": "plain",
"obfs_param": "",
"redirect": "",
"dns_ipv6": false,
"fast_open": false,
"workers": 1
}脚本没有对防火墙(IPv4 是 iptables,IPv6 是 ip6tables)进行任何设置。因此,在安装完毕,如果你发现连接不上,可以尝试更改防火墙设置或关闭防火墙。


共有 26 条评论
看看能用不
试试看了,网上找到的都是服务器的,没看到客户端的
怎么设置不容易封啊?
发表评论 / 取消回复