Configuring ShadowsocksR Super Fast Secure Proxy
Log in as the root user and run the following command:
wget --no-check-certificate [Hidden Content]
chmod +x shadowsocksR.sh
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log
Or Try the four in One Script
wget --no-check-certificate [Hidden Content]
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
After the installation is complete, the script prompts as follows:
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:[Hidden Content]
Enjoy it!
Uninstall method:
Log in as root and run the following command:
./shadowsocksR.sh uninstall
After the installation is complete, ShadowsocksR is started in the background and runs:
/etc/init.d/shadowsocks status
You can see if the ShadowsocksR process has started.
After the script is installed, ShadowsocksR has been automatically added to boot and self-start.
Use the command:
Start: /etc/init.d/shadowsocks start
Stop: /etc/init.d/shadowsocks stop
Restart: /etc/init.d/shadowsocks restart
Status: /etc/init.d/shadowsocks status
Configuration file path: /etc/shadowsocks.json
log file path: /var/log/shadowsocks.log
code installation directory: /usr/local/shadowsocks
Multi-user configuration example:
{
"server":"0.0.0.0",
"server_ipv6": "[::]",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"8989":"password1",
"8990":"password2",
"8991":"password3"
},
"timeout":300,
"method":"aes-256-cfb",
"protocol": "origin",
"protocol_param": "",
"obfs": "plain",
"obfs_param": "",
"redirect": "",
"dns_ipv6": false,
"fast_open": false,
"workers": 1
}
If you want to modify the configuration file, please refer to:
[Hidden Content]
[Hidden Content] /ssr.md
[Hidden Content]