More and more friends bought their own VPS and installed on the Shadowsocks service, if you have not purchased a VPS can refer to: vultr VPS host Japan node use subsection to buy, if you have not set up related services, Please refer to the Tutorial: CentOS a key to install Shadowsocks script, the above work is ready, but need to modify their shadowsocks port number and password and how to operate it? Not all users are familiar with the Linux system, the following is for reference.
First, the Preparation tool
Some users may not be able to use the Linux system's VI editor, but it doesn't matter we can download the configuration file to the local modification and upload the overlay via the SFTP tool. SSH tools are also required to remotely log on to the server, or to download a putty on the web, and prepare tools on these two.
SFTP tool: WinSCP (SFTP client) V5.5.3 Green Chinese version
SSH tool: Xshell5.0.0579 official Chinese version
Second, modify the port number and password
Connect to the server via the WinSCP tool (Figure 2-1), enter the/etc directory, Find the file Shadowsocks.json (Figure 2-2), and then use a text editor to open the file, you can see the specific configuration information, figure 2-3 is a multiuser configuration, if you need to modify the port, please modify the left, the port corresponding to the password, can be modified as needed , and finally save.
Figure 2-1 Login via SFTP
Figure 2-3 Modifying the port number and password
Third, restart the service and shutdown and configure the firewall (iptables)
The modified Shadowsocks.json file is modified to overwrite the source file through the Sftp tool (WINSCP), then connect to the server via the SSH tool (Xshell, putty), and then enter the command:
Restart Shadowsocks:/etc/init.d/shadowsocks restart
Shutdown Firewall (iptables):/etc/init.d/iptables stop
The last port number and password are modified to complete, the use of Shadowsocks connection to enter a new port number and password can be, if there are questions please message feedback.