类别:LINUX / GNU / 日期:2020-04-02 / 浏览:8481 / 评论:26

shadowsocksR一键安装脚本  bash ss ssr 一键命令 脚本 第1张

    虽然网上很多人都在用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)进行任何设置。因此,在安装完毕,如果你发现连接不上,可以尝试更改防火墙设置或关闭防火墙。

赞助

感谢您的打赏~

打开支付宝扫一扫,即可进行扫码打赏哦~

版权声明 : 本文使用「署名-非商业性使用-禁止演绎 4.0 国际」创作共享协议,转载或使用请遵守署名协议 / Article Use Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License「CC BY-NC-ND 4.0」

 可能感兴趣的文章

伤心叹戈

评论区

共有 26 条评论

user 访客 / 2023-06-13 19:40:49 / Windows 10 x64 / Google Chrome 114.0.0.0 / 回复

看看能用不

user 访客 / 2023-06-08 17:00:29 / Windows 10 x64 / Google Chrome 114.0.0.0 / 回复

试试看了,网上找到的都是服务器的,没看到客户端的

user 访客 / 2023-03-23 21:32:12 / Windows 7 x64 / Google Chrome 95.0.4638.69 / 回复

怎么设置不容易封啊?

发表评论 / 取消回复

必填

选填

选填

◎欢迎讨论,请在这里发表您的看法及观点。