Return to site

Install Dante Socks Proxy Centos 7

broken image


具体CentOS 7 安装socks5代理方法指令如下: 安装一些需要的程序 yum -y install gcc openssl-devel pcre-devel zlib-devel libtool c pam-devel pam; 安装dante socks5服务 下载相关软件包:dante-1.4.1-176.9.x8664.rar. 将rpm上传到opt目录。执行指令安装服务。 cd /opt rpm -ivh dante-.rpm. Install Dante Socks Proxy Centos 7 5,8/10 9227 votes How to Setup a SOCKS5 Proxy Server using Dante. Dante is a free SOCKS server and a flexible product developed by Inferno Nettverk A/S that can be used to provide convenient and secure network connectivity. Install Dante Socks Proxy Centos 6 Realflow 5 3ds Max 2012 Plugin Free Download Corel Painter Lite Serial Number Roald Dahl The Witches Download Microsoft Office Professional Plus 2010 Ver 14.0.4734.1000 H 264 Progdvb Pack Summer Switch Suzuki Tsuta Netter Interactive Atlas Of Human Anatomy V3 0.

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.

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:

Usb

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

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):

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:

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.

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.

//EDIT: Technically authentication had been enabled before,too except now you just disabled the access for non-verified users. Contract vanzare cumparare auto germania pdf gratuit.

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

Restart danted/dante-server:

Install Dante Socks Proxy Centos 7

. 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. 🙂

Obtaining Dante from repository

Dante is a fully functional SOCKS proxy server and as such has many nobs. Fortunately, setting up a basic configuration that will allow tunneling of things like HTTP is relatively simple. If you're running Debian GNU/Linux, simply run:

Configuring Dante

remember! Dante is a SOCKS host NOT an HTTP proxy, you are going to get all sorts of weird errors if you get this wrong.

What Is Socks Proxy

The configuration file is locate in

This is a simple of the configuration file:

Take a look at the first part:

Install dante socks proxy centos 7 3
this dante configuration enable the proxy on port 8080 of a server ( example 123.123.123.123) and listing on interface venet0:0.
This configuration enable the proxy only for a single example ip: 10.10.10.10.

Starting Dante

Install dante socks proxy centos 7 download

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

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):

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:

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.

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.

//EDIT: Technically authentication had been enabled before,too except now you just disabled the access for non-verified users. Contract vanzare cumparare auto germania pdf gratuit.

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. 🙂

Obtaining Dante from repository

Dante is a fully functional SOCKS proxy server and as such has many nobs. Fortunately, setting up a basic configuration that will allow tunneling of things like HTTP is relatively simple. If you're running Debian GNU/Linux, simply run:

Configuring Dante

remember! Dante is a SOCKS host NOT an HTTP proxy, you are going to get all sorts of weird errors if you get this wrong.

What Is Socks Proxy

The configuration file is locate in

This is a simple of the configuration file:

Take a look at the first part:

this dante configuration enable the proxy on port 8080 of a server ( example 123.123.123.123) and listing on interface venet0:0.
This configuration enable the proxy only for a single example ip: 10.10.10.10.

Starting Dante

And it have to response:
If it doen't response with this message you have to check the log:
For solve this issue launch this command:
if the command belove doesn't work, try this:

Install Dante Socks Proxy Centos 7 1

Keep attention on where LN file is locate, in my case is on /bin/ln.

Install Dante Socks Proxy Centos 7 3

Now, you can start again dante server and configure your browser for connect with SOCKS5 on the port that you have configured in the file above.

Install Dante Socks Proxy Centos 7 Download

I suggest 'Proxy Switchy!' for google chrome.




broken image