SOCKS5 One-click installation package (tested for compatible Debian/centos)

Source: Internet
Author: User

Linux System Tutorials

Functional characteristics

1. Compile the installation with the latest stable version of Danted 1.4.0.
2. Automatically identify the system IP (default exclude 192.168.0.*, 10.0.0.*,127.0.0.*), when detecting multi-IP, interactive select IP configuration (direct return is all configured).
3. Using PAM user authentication, authentication does not need to add system user (default add process user sock), delete, add user convenient, security.
4. Sock5 Run Status View.
5. The system automatically loads after booting.
6. Authentication Method Optional: No user name password, system user name password, Pam username password
7. Perfect support Centos/debian, automatic identification system for installation configuration.
8. Customize the way to connect client authentication, support to set some IP/IP segments without authentication can be connected.

Instructions for installation

wget--no-check-certificate Https://raw.github.com/Lozy/danted/master/install.sh-O install.sh
2. [Optional] Modify default parameters:

    1. Default_port is the default port

    2. Default_user Pam User Name

    3. DEFAULT_PAWD pam user corresponding password

    4. MASTER_IP for authentication-free whitelist (domain name, IP optional: As default buyvm.info or specific IP 8.8.8.8/32)

3. After the modification, the execution

Bash install.sh

4. If the Dante Server Install successfuly! is displayed after the run is complete, it indicates success.
if the Dante Server install failed! is displayed, the installation fails, and the feedback operating system + specific problem is asked.

Instructions for use after installation


1. Command parameters/etc/init.d/danted {Start|stop|restart|status|add|del}
2. Restart sock5/etc/init.d/danted Restart or service danted restart
3. Turn off sock5/etc/init.d/danted stop or service danted stop
4. Turn on sock5/etc/init.d/danted start or service danted start
5. View the status of Sock5 state/etc/init.d/danted or service danted status
6. Add SOCK5 Pam User/Change Password/etc/init.d/danted Add user name password
7. Delete SOCK5 Pam user/etc/init.d/danted del user name
8. Configuration file path/etc/danted/conf/
9. Log Record path/var/log/danted.*.log
danted help command danted--help

Precautions for use


1. Most browsers (except Opera) do not support SOCKS5 with password authentication, so the use of computers requires the installation of Proxifier/proxycap and other software for verification processing.
2. If a fixed IP/IP section can modify the configuration file, set whitelist access.
Enter/etc/danted/conf/to locate the configuration file
Modify the From:master_ip/32 to:0.0.0.0/0 under the first client pass {} module. Modify the MASTER_IP/32 to use the proxy IP address, such as 114.114.114.0/24 or 5 .5.5.5/32. Multiple access sources, please copy multiple client pass {} modules. Restart danted Process Service danted Restart

more detailed wiki instructions https://github.com/Lozy/danted/blob/master/README.md
Project Hosting Address https://github.com/Lozy/danted

SOCKS5 One-click installation package (tested for compatibility with Debian/centos)

Related Article

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.