Configure SS5 (SOCK5) proxy service in Centos

Source: Internet
Author: User

SOCK5 Proxy Server
Official Website: http://ss5.sourceforge.net/
Yum-y install gcc-c ++ automake make pam-devel openldap-devel cyrus-sasl-devel

I. Installation
# Tar xvf ss5-3.8.9-5.tar.gz
# Cd ss5-3.8.9-5
#./Configure & make install

Ii. modify the configuration file
1. Modify/etc/opt/ss5/ss5.conf
Auth 0.0.0.0/0-u
Permit u 0.0.0.0/0-0.0.0.0/0 -----

2. Modify the custom port in the/etc/rc. d/init. d/ss5 file. The default port is 1080.
Daemon/usr/sbin/ss5-t $ SS5_OPTS-B 0.0.0.0: 10888

3. in/etc/sysconfig/ss5, uncomment.
SS5_OPTS = "-u root"

4. Add a verified user and password. Because the password is in plain text, pay attention to the permission control.
# Cat ss5.passwd # One user and one password per line
Test 1, 123
Lxsym 123

# Chmod 700/etc/rc. d/init. d/ss5
# Chmod/etc/rc. d/init. d/ss5

[Root @ lx_web_s1 ss5-3.8.9] #/etc/rc. d/init. d/ss5 restart
Restarting ss5...... Shutting down ss5...
Done [OK]
Doneting ss5..... [OK]
After the server is successfully installed, you can use the IP address, port 10888, user test, and password 123 of the server to test your socks5 server.

Add to start automatically
Chkconfig -- add ss5
Chkconfig -- level 345 ss5 on

For example, if the proxy is on QQ and the ssh stepping stone is used, we will introduce it later. It also has many functions ~~


If an installation or configuration error occurs, leave a message or contact qq: 251004262.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.