Sign inSign up

n00b1k/danted

By n00b1k

Updated 7 months ago

A free SOCKS-5 proxy server on Debian

Image
Networking
Security
0

1.7K

n00b1k/danted repository overview

Dante
Github

config

sudo mkdir -p /opt/danted/
sudo nano /opt/danted/danted.conf

errorlog: /var/log/dante/error.log
logoutput: /var/log/dante/output.log
user.privileged: root
user.unprivileged: nobody

# The listening network interface or address.
internal: 0.0.0.0 port=1080

# The proxying network interface or address.
external: eth0

#authentication methods
clientmethod: none
socksmethod: pam.username

client pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: connect disconnect error
}

socks pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    command: connect
    log: connect disconnect error
}
add user

sudo htpasswd -B -c /opt/danted/passwd user1
sudo htpasswd -B /opt/danted/passwd user2

run
docker run -d --name danted -p 1080:1080 -v /opt/danted/danted.conf:/etc/danted.conf:ro -v /opt/danted/passwd:/etc/dante/passwd:ro -v /opt/danted/log:/var/log/dante --cap-add=NET_ADMIN --restart unless-stopped n00b1k/danted:1.0.3
test
curl --proxy socks5h://ip:1080 --proxy-user user1:password1 https://ifconfig.co

Tag summary

Content type

Image

Digest

sha256:59d004520

Size

33.1 MB

Last updated

7 months ago

docker pull n00b1k/danted:1.0.3