The following author will use SS5 on the Amazon Cloud Server Linux to build a SOCKS5 Proxy server, the process is as follows:
1, first, the compilation installs the SS5 to install some dependent components first
Yum-y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel openssl-devel
2, to the official website http://ss5.sourceforge.net/Download SS5 The latest version of the source code
wget https://ncu.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz
3, after the decompression began to compile the installation:
Tar zxvf./ss5-3.8.9-8.tar.gz
CD ss5-3.8.9
./configure
Make
Make install
4, let SS5 with the system to start
chmod +X/ETC/INIT.D/SS5
Chkconfig--add SS5
Chkconfig--level 345 SS5 on
5, found in the ss5.conf auth and permit two lines, according to the following format to modify
6, SS5 default use 1080 port, and allow anyone to use, if you want to modify the default port, please modify the VI/ETC/SYSCONFIG/SS5
In/etc/sysconfig/ss5 this file, add the following line of command, and the parameter after-B represents the IP address and port number of the listener
# ADD startup option here
Ss5_opts= "-U root-b 0.0.0.0:8080"
7. Start SS5
Service SS5 Start
8, must remember to configure the security group Open SS5 monitoring port
9, using the QQ Agent test:
PostScript: If you need to configure access rights, please modify as follows:
A, open the user name password authentication mechanism vi/etc/opt/ss5/ss5.conf
Locate auth and permit in ss5.conf, and modify them in the following format
Auth 0.0.0.0/0-U
Permit U 0.0.0.0/0-0.0.0.0/0-----
B. Set user name and password vi/etc/opt/ss5/ss5.passwd
One line of account, between the user name and password with a space interval, for example:
User1 123
User2 234
C, restart the service to take effect
Service SS5 Restart
Linux Build SOCKS5 Proxy Server