/shadowsocks_install

Auto Install Shadowsocks Server for CentOS/Redhat/Fedora/Debian/Ubuntu

Primary LanguageShell

Auto install Shadowsocks Server

shadowsocks.sh

Description: Auto Install Shadowsocks(Python) Server for CentOS/Redhat/Fedora/Debian/Ubuntu

Intro: https://teddysun.com/342.html

shadowsocks-libev.sh

Description: Auto Install Shadowsocks(libev) Server for CentOS/Redhat/Fedora

Intro: https://teddysun.com/357.html

shadowsocks-libev-debian.sh

Description: Auto Install Shadowsocks(libev) Server for Debian/Ubuntu

Intro: https://teddysun.com/358.html

shadowsocks-go.sh

Description: Auto Install Shadowsocks(Go) Server for CentOS/Redhat/Fedora/Debian/Ubuntu

Intro: https://teddysun.com/392.html

shadowsocks-crond.sh

Description: Check Shadowsocks(All version) Server is running or not, and start it if not running

Intro: https://shadowsocks.be/6.html

shadowsocksR.sh

Description: Auto Install ShadowsocksR Server for CentOS/Redhat/Fedora/Debian/Ubuntu

Intro: https://shadowsocks.be/9.html

shadowsocks-nodejs.sh (Deprecated)

Description: Auto Install Shadowsocks(NodeJS) Server for CentOS/Redhat/Fedora

Intro: https://teddysun.com/355.html

Copyright (C) 2014-2016 Teddysun i@teddysun.com

关于本脚本: 一键安装 ShadowsocksR 服务端。 请下载与之配套的客户端程序来连接。 (以下客户端只有 Windows 客户端和 Python 版客户端可以使用 SSR 新特性,其他原版客户端只能以兼容的方式连接 SSR 服务器)

默认配置: 服务器端口:自己设定(如不设定,默认为 8989) 客户端端口:1080 密码:自己设定(如不设定,默认为teddysun.com)

使用方法: 使用root用户登录,运行以下命令: wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh chmod +x shadowsocksR.sh ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

安装完成后,脚本提示如下:

Congratulations, ShadowsocksR install completed! Server IP:your_server_ip Server Port:your_server_port Password:your_password Local IP:127.0.0.1 Local Port:1080 Protocol:origin obfs:plain Encryption Method:aes-256-cfb

Welcome to visit:https://shadowsocks.be/9.html If you want to change protocol & obfs, reference URL: https://github.com/breakwa11/shadowsocks-rss/wiki/Server-Setup Enjoy it!

卸载方法: 使用 root 用户登录,运行以下命令: ./shadowsocksR.sh uninstall

安装完成后即已后台启动 ShadowsocksR ,运行: /etc/init.d/shadowsocks status

可以查看 ShadowsocksR 进程是否已经启动。 本脚本安装完成后,已将 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

如果你想修改配置文件,请参考: https://github.com/breakwa11/shadowsocks-rss/wiki/Server-Setup

注意事项: 本脚本没有对防火墙(IPv4 是 iptables,IPv6 是 ip6tables)进行任何设置。 因此,在安装完毕,如果你发现连接不上,可以尝试更改防火墙设置或关闭防火墙。