Setcap cap_net_bind_service+ep /usr/bin/v2ray-plugin The following commands will help you to get v2ray ready on your server.
SHADOWSOCKS CLIENT INSTALL
If not, you can install it by following this instruction. First, you need to make sure you have go-lang on your server. In this section, the obfuscation configuration using v2ray-plugin will be introduced. If you care about the speed a lot while feeling it's okay to change your server's IP some times when they are unluckily blocked, you don't need obfuscation.
However, using obfuscation will reduce the speed of your shadowsocks. It pretends your data stream as you are accessing a normal website now. Obfuscation is another method that reduces the feature of your data stream, thus making it harder for GFW to determine whether your data stream is sent to a shadowsocks server. Thus, it has been suggested that AES based algorithms shall be used for desktop clients, while chacha based algorithms shall be used for mobile clients. The available AEAD algorithms that Shadowsocks-libev currently supports includes the following.īesides, this gist suggests AES based algorithm performs badly on ARM processors. This article discusses the details of why AEAD based encryption algorithms are safer than stream encryption + OTA algorithms. But of course, you can select your favorite port from 0 to 65535, as long as they are not occupied by other services. It's also worth mentioning that some Wi-Fi networks have firewalls that stop connections to other ports except for normal ports such as 443, 80, 22, etc. Port Choosingīy deploying the Shadowsocks server in 443 port, your Shadowsocks data stream looks more like a data stream for web browsing via HTTPS. If you would like to shut down the server, use ps -ef | grep ss-server to get the pid of your shadowsocks server, and then kill the process using kill.īefore this section is finished, I would like to talk more about some details about the configuration. Nohup ss-server -c /path/to/config.json > /path/to/log.txt & Or, if you want the shadowsocks server run as a background process (as most people do), execute the following command instead. Once you've finished editing the config file (suppose the file name is config.json), you can start the shadowsocks server by executing the following command. You could definitely start a shadowsocks server via a single command by attaching all parameters to it, but it is also good to create a configuration file which helps you no longer need to enter the long parameter list manually. 1īy entering ss-server -h in the console, all the parameters of the command ss-server are given. By following its README file, Shadowsocks-libev could be installed with the following two commands. For the purpose of installing plugins for obfuscation (in the following section), the Shadowsocks-libev is chosen here. There are multiple versions of Shadowsocks available, including the original Python based Shadowsocks, the Shadowsocks-libev, and ShadowsocksR. Installing Shadowsocks and Get it Running Well, what does "protect" mean here? If you are among its target users, you would know. Time to embrace a bigger world! Shadowsocks is a secure socks5 proxy and was designed to protect your internet traffic. This tutorial illustrates steps for setting up a Shadowsocks server on Ubuntu system.