Dante Socks5 Server
Dante is a socks5 server that you can use to setup a socks5 proxy on your ubuntu or debian machine. In this quick tutorial we shall learn how to setup dante and use authentication.
With authentication enabled, the dante proxy server would require all clients to provide login details in order to use the proxy server. This is a good idea.
Installing Dante on Ubuntu
The default Ubuntu repositories have the dante-server package but it is outdated. The version present is 1.1.19 which is quite old and also has some bugs. The authentication feature does not work properly.
If you don't need authentication then you can install it.
sudo apt-get install dante-server
The version in repository was
# danted -v
danted: dante v1.1.19
Like said earlier, the authentication feature does not properly work with it. The log file shows the following error messages -
Mar 11 14:05:05 (1489241105) danted: pass(1): tcp/accept ]: username%ikee@122.163.30.234.18600 -> 104.131.115.128.1080: system username/password failed
Trying to test with curl shows the following error message -
$ curl -v -x socks5://username:password@IP:1080 http://www.google.com/
* Trying 104.131.115.128...
* User was rejected by the SOCKS5 server (1 1).
* Closing connection 0
curl: (7) User was rejected by the SOCKS5 server (1 1).
Some users have reported similar issues at this reddit post...
Read full post here
How to setup a Socks5 Proxy server on Ubuntu with Dante
Dante is a socks5 server that you can use to setup a socks5 proxy on your ubuntu or debian machine. In this quick tutorial we shall learn how to setup dante and use authentication.
With authentication enabled, the dante proxy server would require all clients to provide login details in order to use the proxy server. This is a good idea.
Installing Dante on Ubuntu
The default Ubuntu repositories have the dante-server package but it is outdated. The version present is 1.1.19 which is quite old and also has some bugs. The authentication feature does not work properly.
If you don't need authentication then you can install it.
sudo apt-get install dante-server
The version in repository was
# danted -v
danted: dante v1.1.19
Like said earlier, the authentication feature does not properly work with it. The log file shows the following error messages -
Mar 11 14:05:05 (1489241105) danted: pass(1): tcp/accept ]: username%ikee@122.163.30.234.18600 -> 104.131.115.128.1080: system username/password failed
Trying to test with curl shows the following error message -
$ curl -v -x socks5://username:password@IP:1080 http://www.google.com/
* Trying 104.131.115.128...
* User was rejected by the SOCKS5 server (1 1).
* Closing connection 0
curl: (7) User was rejected by the SOCKS5 server (1 1).
Some users have reported similar issues at this reddit post...
Read full post here
How to setup a Socks5 Proxy server on Ubuntu with Dante