LinuxSocks5 Agent Server Installation Process-Socks5 download address

Source: Internet
Author: User
Http: www.linuxso.comuploadssoft101018socks5-v1.0r11.tar.gz

Because most of the articles about installing the SOCK5 agent on the Internet are earlier versions of the following file socks5-v1.0r11.tar.gz, GCC2.9 and below can be compiled normally.

Interested friends can also study, this site provides a download connection http://www.linuxso.com/uploads/soft/101018/socks5-v1.0r11.tar.gz

I recommend that you install the following versions. If you use CentOS or RH Server, you can directly install yum, which is the most convenient.

Http://www.linuxso.com/uploads/soft/101018/ss5-3.6.1-1.tar.gz installation steps are as follows

The latest version 3.8.4-1 http: // is recommended ://NcHc.dl.sourceforge.net/project/ss5/ss5/3.8.4-1/ss5-3.8.4-1.tar.gz

Install and configure socks5 in CentOS

The functions and functions of the socks5 proxy I won't bother here --------------- 1. Configure the compiling environment

Yum-y install gcc automake make

2. install necessary packages for socks5

Yum-y install pam-devel openldap-devel cyrus-sasl-devel

3. Download, compile and install ss5 (socks5)

Wget http://www.linuxso.com/uploads/soft/101018/ss5-3.6.1-1.tar.gz
Tar zxvf ss5-3.6.1-1.tar.gz
CdSs5-3.6.1
./Configure
Make
Make install

# Start the ss5 Service
/Etc/init. d/ss5 start
If it cannot be started, it is a permission problem. ChmodA + x/etc/init. d/ss5 can be started.
Ss5 uses port 1080 by default and is allowed by anyone. In/etc/opt/ss5/ss5.conf

# SHost SPort Authenti CatIon
#
Auth 0.0.0.0/0 --

Is

# SHost SPort Authentication
#
Auth 0.0.0.0/0-u put pe RmChange it-0.0.0.0/0-0.0.0.0/0---to permit u 0.0.0.0/0-0.0.0.0/0 -----
In/etc/opt/ss5/ss5. PasswdTo add the user name and password, for example:

Test

Use user verification to restart the ss5 Service

/Etc/init. d/ss5 restart

 

If any error occurs, you can trace the log:

# Tail-f/var/log/ss5/ss5.log


After the S5 agent with a password is configured, Thunder can configure the agent to download the agent, but I cannot open the web page for testing.

The agent can access the Internet only when the user and password are not configured. This may be caused by a problem with the built-in SOCKS5 client of the traffic manager.

As for how to modify the port number, I haven't found it yet. Modify config. h In the source file, but the compiled port is still 1080.

Later I found the modification. I used SS5 only to break through the BT download restriction of the school. After testing, I will tell you how to modify the port number.

I used Baidu and Google for half a day, but I found that they all use the old version of SS5. I have read a lot and it is unnecessary and valuable, I have pasted it here.

You are welcome to leave a message below. You can also add the QQ group number of our Linux Security Network: 11153255

 

 

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.