Install Dante Socks Proxy Centos 7

05.01.2021by

How to use the SOCKS5 proxy SS5 built on CentOS 7

Introduction
In this article, we will use the SS5 set Socks5 proxy server is a .SS5 SOCK4 achieve high performance and SOCKS5 protocols SOCKS proxy server on CentOS 7. As a proxy server, SS5 client network requests authentication, and the configuration process. It establishes a connection when a client attempts to access the network for the host application client application, the client connects to the SS5 daemon instead of the application host. Proxy server acts as an intermediary between the device and the Internet. Guided through a proxy server traffic appears to come from its IP address instead of your own IP address. Proxy Server does not encrypt their traffic through, it saves resources and allows all connections from accepting more users. SOCKS representatives SOCKet Secure, it is an Internet protocol, through a proxy server between the client and the server routing network packets. It is an extension of the SOCKS protocol, supports advanced network technologies, such as the UDP protocol and IPv6. In addition, due to the SOCKS server does not distinguish between types of network traffic, such as for HTTP Web browsing, e-mail for SMTP, for FTP torrent file and so on. These are considered a proxy server protocol is the most flexible. It is a generic proxy, on behalf of the client to establish a TCP connection to another server, and routing all traffic between the client and the server.
SOCKS There are two versions, namely SOCKS5 and SOCKS4, but its version 4 only supports TCP applications, while SOCKS5 version supports both applications. However, due to the SOCKS5 also supports a variety of authentication mechanisms and DNS (not used with SOCKS4), and therefore are usually outgoing SOCKS proxy SOCKS4 proxy. Therefore, typically do not support UDP applications. SOCKS5 proxy server is flexible, compatible with all kinds of Internet traffic, such as POP3 and SMTP, for email, and FTP, to upload files to the site. They are also significantly faster than encryption services. That is why they are more popular among users you do not need advanced security and encryption but need to implement privacy and flexibility by replacing its IP address.

This tutorial explains how to set up Squid on CentOS 7 and configure Firefox and Google Chrome web browsers to use the proxy. Installing Squid on CentOS # Squid package is included in the default CentOS 7 repositories. To install it run the following command as sudo user: sudo yum install squid. Once the installation is completed, start. Feb 01, 2018 Dante Socks proxy – how to install and manage on RHEL or other distros, RPM package included Updated: 2019/October/29 – Fixed bad installation directory in Sockd for RPM package Installing socks proxy is usually not very good documented.

Install

Built environment

Centos

There are many proxy server software can provide SOCKS4 SOCKS5 proxy agents and at the same time, but we will be here to use Linux CentOS 7 SS5 set. Root user or use sudo privileges credentials to connect to your system.

Run the following command to install the latest version of CentOS 7 EPEL repository, then update the system for missing security updates and patches.

Built-dependent

ss5 need to install the development tools and other software packages on the system. The following command YUM package manager to install these packages.

Press y Installation

SS5 mounted on CentOS 7

First prepare the directory and use the wget command to download SS5 package, as shown below / opt / directory.

After downloading the package, check that all dependencies are installed.

You can also compile and install

Then in the same directory run ./configure command. It will be responsible for preparing building software on your system. It ensures that all dependencies and build the rest of the installation process are available, and to identify any need to know when the content of these dependencies.

Once configure has completed its work, we can call make to build software. This will run a series of tasks defined in the Makefile to build a program from source code completion.

Install Dante Socks Proxy Centos 7

Now the software has been built and ready to run, you can copy files to the final destination. Copy the make install command will build its library of programs and documents to the correct location.

SS5 Socks5 proxy server configuration

Released seven original articles · won praise 2 · Views 7754

Install Dante Socks Proxy Centos 7 0

Origin blog.csdn.net/qq_25098477/article/details/90181042

The following post describes how to set up dante-server (danted / sockd), a SOCKS5 proxy server, with user/password authentication. It should work on Debian and Ubuntu.

Install dante socks proxy centos 7 1

On Ubuntu 14.04 You will have to compile dante yourself. Maybe other Ubuntu versions as well. Click here for the Ubuntu 14.04 how-to.

– it lets anyone (as in any IP address) connect
– it requires user and password of a systemuser (e.g. root)

Here is how I did it on Linux Debian 6 (Squeeze) minimal x86, at first I will explain it without authentication and then tell you what to modify to add authentication:

. to update your system and to install the text editor nano.
Then install dante-server:

It will output an error message in the end:

So let’s configure it. The configuration file is at:

Dante

Rename it and make a new one:

Now copy this and insert it into PuTTY with a right click:

Now you have to change the following lines depending on your system.

venet0:0 is the network adapter/interface which can be (and very likely is) different on your system.
To check the name use the command:

Which will output the names. In my opinion it should have been venet0 for me, but it didn’t work so just try all of them if the proxy server refuses connection.
Another very typical name would be eth0.

The IP address needs to be changed to the EXTERNAL IP of your server (the one you could also access an apache web server with from your computer):

Socks Proxy List

To save with the nano editor hold CTRL+X and confirm the changes with “y”.

Now make sure dante-server is stopped and start it again:

Install Dante Socks Proxy Centos 7 Bootable

Try to connect with your browser. We haven’t set an authentication yet so a web browser is an easy way to check if it is working. If it says “connection refused” you entered wrong information in the config file.

Install Dante Socks Proxy Centos 7 Iso

If it opens the website you are trying to access, congrats! 😛 Now let’s implement authentication which is really easy. Simply change the following line:

to

Now you should be able to identify yourself with the user specified in the following line:

Yes, it is the system user. If you specify root you have to log in with the username “root” and the password of your server/vps that you use for SSH access.

Vino

//EDIT: Technically authentication had been enabled before,too except now you just disabled the access for non-verified users.

You might have to start the server as root for authentication to work (or with sudo).

Restart danted/dante-server:

. and check if the authentication works. I checked it with the P2P file sharing program “Ares” which returns “Test passed” if it works. And that’s it, hope this tutorial helped someone. 🙂

Comments are closed.