Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure socket5 Agent with ss5 on the Server of CentOS system

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to configure socket5 agent with ss5 on the server of CentOS system". In the daily operation, I believe that many people have doubts about how to configure socket5 agent with ss5 on the server of CentOS system. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to configure socket5 agent with ss5 on the server of CentOS system". Next, please follow the editor to study!

Step 1 download and install ss5

1. Install the necessary packages for the system

The code is as follows:

[root@e2fsck ~] # yum install gcc automake make

two。 Install the necessary packages for socks5

The code is as follows:

[root@e2fsck ~] # yum-y install pam-devel openldap-devel cyrus-sasl-devel

3. Download and install socket5 (ss5)

The code is as follows:

[root@e2fsck ~] # wget http://nchc.dl.sourceforge.net/project/ss5/ss5/3.8.9-6/ss5-3.8.9-6.tar.gz

[root@e2fsck] # tar xvf ss5-3.8.9-6.tar.gz

[root@e2fsck] # cd ss5-3.8.9

[root@e2fsck ss5-3.8.9] #. / configure

[root@e2fsck ss5-3.8.9] # make & & make install

Step 2 configure ss5

1. Cancel the default socket4

The code is as follows:

[root@e2fsck ss5-3.8.9] # mv / usr/lib/ss5/mod_socks4.so / usr/lib/ss5/mod_socks4.so.bak

two。 Anyone is allowed to use it by default, and of course we can't do that.

The code is as follows:

[root@e2fsck ss5-3.8.9] # vi / etc/opt/ss5/ss5.conf # SHost SPort Authentication # auth 0.0.0.0max 0-u # Auth SHost SPort DHost DPort Fixup Group Band ExpDate # permit u 0.0.0.0max 0-0.0.0.0max 0-

3. Set password

The code is as follows:

[root@e2fsck ~] # vi / etc/opt/ss5/ss5.passwd

User password # account password can be written on one line.

Step 3: start ss5

1. Give ss5 executive permission

The code is as follows:

[root@e2fsck ~] # chmd + x / etc/rc.d/init.d/ss5

two。 Start

The code is as follows:

[root@e2fsck ~] # service ss5 start

3. Check to see if the port is opened successfully

The code is as follows:

[root@e2fsck ~] # netstat-tnlp | grep 1080

Tcp 0 0 0.0.0. 0 1080 0. 0. 0. 0. 0. 0.

Seeing 1080 means it's a success.

At this point, the study on "how to configure the socket5 agent with ss5 on the server of the CentOS system" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report