Myluzh Blog

Deploy SSR Server

发布时间: 2022-12-8 文章作者: myluzh 分类名称: NOTE 朗读文章


SS & SSR
SS full name: shadowsocks.
Shadowsokks is a agent software. This software can intelligently judge whether the visited website is forbidden or not. The forbidden website will be accessed through a remote server.

SSR full name: shadowsocks-R.
The author of SSR claims that SS is not hidden enough and easy to be detected by the firewall. SSR improves the confusion and protocol and is more difficult to be detected by the firewall. In short, SSR is an improved version of SS.

the client sends the request (based on Socks5 protocol), and the sock5 protocol is transformed and encrypted through the SSR client, so that the traffic from the client is no different from the traffic based on HTTP protocol;
after the SSR server (proxy server) receives the request, the data is decrypted and restored, and finally the protocol is forwarded To the target server.


difference between VPN, SSR and SS
The purpose is different. VPN is to ensure the security and privacy of communication; SS / SSR is to forward client traffic, bypass the detection of firewall, but it does not guarantee the security of data transmission.


Deploy VPS server (ssr)
connect my vps by ssh. (Before that, you can try to ping your remote host)
ssh <-p port> username@IP  //sign in
scp road  username@IP:road  //upload file to ssh server
passwd username  //change password
download and isntall ssr server. Set ssr software on your vps as a ssr proxy server.
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh
Wait for the command execution of the previous step to finish, and then continue to execute the command:
chmod +x shadowsocksR.sh
Wait for the command execution of the previous step to finish, and then continue to execute the command:
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log
According to the needs of choice, will let you choose the data encryption method, website access method and so on, the default carriage return is recommended. You will be prompted to enter the password and port of your SSR server. No input is the default. After running the command, the information of your SSR client will come out.
After all selections are completed, the installation is successful when the following command appears:
Congratulations, ShadowsocksR server install completed!
Your Server IP :xxx
Your Server Port :xxx
Your Password :xxx
Your Protocol :xxx
Your obfs :xxx
Your Encryption Method:your_encryption_method

Welcome to visit:https://shadowsocks.be/9.html
Enjoy it!
warning! when appear this error, that mean this script couldn’t apply to centos 8, you have to change your os version.
Install ssr client on pc
https://github.com/search?q=ShadowsocksR-win

Have fun!


标签: ssr

发表评论