Sign inSign up

chusri/dante-server

By chusri

•Updated over 1 year ago

Image
0

72

chusri/dante-server repository overview

⁠Alpine Dante SOCKS5 Server 🧦🛡️

A minimal Dockerized Dante SOCKS5 server running on Alpine Linux.

⁠🚀 Features

  • Lightweight image based on alpine:3.21
  • Customizable configuration via SOCKD_CONFIG env var
  • Exposes default SOCKS5 port 1337

⁠📦 Usage

⁠Build the Image
docker build -t alpine-dante .
⁠Run the Container
docker run -d \
  --name socks5-proxy \
  -p 1337:1337 \
  alpine-dante
⁠Custom Configuration

You can customize the SOCKS5 server configuration by setting the SOCKD_CONFIG environment variable. For example:

docker run -d \
  --name socks5-proxy \
  -p 1337:1337 \
  -e SOCKD_CONFIG="your_custom_config" \
  alpine-dante
⁠Example Configuration
# /etc/danted.conf
# This is a sample configuration file for the Dante SOCKS server.
# See the documentation for more details.
# https://www.inet.no/dante/doc/danted.conf.5.html

logoutput: stderr
internal: 0.0.0.0 port = 1337
external: eth0

method: none
user.notprivileged: nobody

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
    protocol: tcp udp
    log: connect disconnect error
}

⁠⚙️ Configuration

The default config allows unauthenticated TCP/UDP connections from any client. You should adjust access controls for production use.

⁠🔐 Authentication

If you want username/password authentication, change the method line in sockd.conf: The default config allows unauthenticated TCP/UDP connections from any client. You should adjust access controls for production use.

method: username

Tag summary

Content type

Image

Digest

sha256:b8d19c1ba…

Size

4.6 MB

Last updated

over 1 year ago

docker pull chusri/dante-server:alpine-3.21