Compiled Dante v1.4.0 (https://www.inet.no/) with configs examples. Using pam for authentications from username:$password list.
Find a file
Nakata Modem 5f65654c72 fix linter
2026-04-04 00:09:58 +02:00
README.md fix linter 2026-04-04 00:09:58 +02:00
sockd first 2026-04-04 00:09:05 +02:00
sockd.conf first 2026-04-04 00:09:05 +02:00
sockd.service first 2026-04-04 00:09:05 +02:00

How to install:

  1. Copy binary sockd to /usr/local/sbin/

  2. Copy sockd.conf to /etc/sockd.conf (read it to learn how to setup authentication method)

  3. Copy .service file to your systemd dir and enable/start it

How to generate password for sockd.passwd (libpam-pwdfile)

  1. install whois package sudo apt install whois

  2. Now you can create md5_scrypt hash that can be used in .passwd

example:

$~# mkpasswd

Password: (prompts for password, not echoed, I typed 123)

$y$j9T$N9AZbcUY9cpr6KqJoKQUP/$0/kBMQsCt666gFidFc1Klv6yQ/pGqSMf5vf6u4rVtID

  1. Now paste this with username to sockd.passwd like this:

bobby:$y$j9T$N9AZbcUY9cpr6KqJoKQUP/$0/kBMQsCt666gFidFc1Klv6yQ/pGqSMf5vf6u4rVtID

  1. Now you can use your proxy with login username bobby and password 123, no restart required.

There are also other methods of authentication, see dante docs: https://www.inet.no/dante/doc/latest/config/auth.html