Oct 03, 2014 Basic Dante Socks5 Server Setup and Configuration. GitHub Gist: instantly share code, notes, and snippets. Make && make install # # if you want to use any of those auth methods. Start the dante SOCKS server. # Description: SOCKS (v4 and v5) proxy server daemon (sockd).
I want to tunnel all my internet traffic through my vps, so I'm trying to install a proxy server.
However: I can't seem to browse the internet through Dante. I get the
ERR_EMPTY_RESPONSE
error.This is my config:
Do I really have to run 2 proxy servers: one for http and one for socks?or is there something else I can do?
skeritskerit
1 Answer
The client pass section has 10.0.0.0/8 as the source network to permit. This is private ip space. If you are trying to connect across the internet to the proxy, you will need to change this to whatever public ip address you NAT to.
Also your method statement is forcing authentication. None of the major browsers support SOCKS5 authentication. Change the config as below:
method: username pam none
client pass {
from: port 1-65535 to: 0.0.0.0/0
}
from: port 1-65535 to: 0.0.0.0/0
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
}
from: 0.0.0.0/0 to: 0.0.0.0/0
}
This will allow unauthenticated access from your IP to the proxy while explicitly blocking all others.
Also instead of setting up a Dante proxy you may want to use OpenSSH or Putty (depending on your OS platform) to create a ssh tunnel and proxy over that. Both OpenSSH and Putty can create socks proxies on the loopbak interface of your client. You point your applications to it and the traffic is routed across the ssh connection to the server and out. No additonal proxy needed on the server. Directions can be found here and here.
TimSTimS
Not the answer you're looking for? Browse other questions tagged linuxproxyvpsdante or ask your own question.
I need a socks 5 proxy server that can run on centos. This would use a block of IP's so that client X with IP Address zzz connects tomy proxy server with ip xxx and then to remote host with ip yyy.
What is the best server software that I should install?
What is the best server software that I should install?
user12145user12145
2 Answers
Consider installing dante Socks 5 server:
yum install dante-server
You should enable a 3rd party repository to install it, I use RPMForge.AlexAlex
ss5. its not perfect, but its at least good, and free.
SirexSirex