Dante Server
Install on Ubuntu
sudo apt update
sudo apt install dante-server
sudo systemctl status danted
sudo danted -v
sudo nano /etc/danted.conf
logoutput: syslog
# The listening network interface or address.
internal: eth0 port = 1080
# The proxying network interface or address.
external: eth0
# socks-rules determine what is proxied through the external interface.
socksmethod: username
# client-rules determine who can connect to the internal interface.
clientmethod: none
user.privileged: root
user.unprivileged: nobody
user.libwrap: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
}
sudo ufw allow 1080
sudo useradd -r -s /bin/false your_dante_user
sudo passwd your_dante_user
sudo systemctl restart danted
sudo systemctl status danted
curl -v -x socks5://your_dante_user:your_dante_password@your_server_ip:1080 \
http://www.google.com/
