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

Socks5 one-click installation package (tested for compatibility with Debian/Centos)

2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

Linux system tutorial

Functional features

1. Compiled and installed with the latest stable version of Danted 1.4.0.

two。 Automatic identification system IP (excluding 192.168.0.percent by default, 10.0.0.recording recording 127.0.0.*). When detecting multiple Ip, select the Ip configuration interactively (if you enter directly, then configure it all).

3. Using Pam user authentication, authentication does not need to add system users (default add process user sock), delete, add users convenient and safe.

4. Check the running status of sock5.

5. Automatically load after the system starts.

6. Optional authentication methods: useless user name password, system user name password, Pam user name password

7. Perfect support for Centos/Debian, automatic identification system for installation and configuration.

8. Customize the authentication method for the connection client. You can set some IP/IP segments to connect without authentication.

Installation instructions

Wget-- no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh-O install.sh

two。 [optional] modify the default parameters:

DEFAULT_PORT is the default port

DEFAULT_USER PAM user name

DEFAULT_PAWD PAM user corresponding password

MASTER_IP is an authentication-free whitelist (domain name, IP optional: such as default buyvm.info or specific Ip 8.8.8.8 Ip 32)

3. After modification, execute

Bash install.sh

4. If Dante Server Install Successfuly is displayed at the end of running! It indicates success.

If Dante Server Install Failed is displayed! It indicates that the installation failed, please leave a message to feedback the operating system + specific problems.

Instructions for use after installation

1. Command parameter / etc/init.d/danted {start | stop | restart | status | add | del}

two。 Restart sock5 / etc/init.d/danted restart or service danted restart

3. Close sock5 / etc/init.d/danted stop or service danted stop

4. Open sock5 / etc/init.d/danted start or service danted start

5. Check sock5 status / etc/init.d/danted status or service danted status

6. Add SOCK5 PAM user / change password / etc/init.d/danted add username password

7. Delete SOCK5 PAM user / etc/init.d/danted del username

8. Configuration file path / etc/danted/conf/

9. Logging path / var/log/danted.*.log

10. Danted help command danted-- help

Matters needing attention

1. Most browsers (except Opera) do not support Socks5 with password authentication, so it is necessary to install software such as proxifier/proxycap to verify the use of computers.

two。 If it is a fixed IP/Ip segment, you can modify the configuration file and set whitelist access.

Enter / etc/danted/conf/ to find the configuration file

Modify from: Master_IP/32 to: 0. 0. 0. 0. 0 under the first client pass {} module. Change the Master_IP/32 to the Ip segment / IP address that requires the use of a proxy, such as 114.114.114.0 Universe 24 or 5.5.5.5 Universe 32. Multiple access sources, please copy multiple client pass {} modules. Restart the Danted process service danted restart

More detailed WIKI description https://github.com/Lozy/danted/blob/master/README.md

Project hosting address https://github.com/Lozy/danted

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

Network Security

Wechat

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

12
Report