Skip to content

adegtyarev/docker-dante

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dante & Docker

Dante is a free SOCKS server and a SOCKS client, implementing RFC 1928 and related standards.

Software specficiation

  • Base image: Alpine Linux
  • Dante version: 1.4.2

Usage

The image is ready to run Dante server or client in a Docker environment:

$ docker run --rm adegtyarev/dante sockd -v
Dante v1.4.2.  Copyright (c) 1997 - 2014 Inferno Nettverk A/S, Norway

Dante & Docker Compose

Should you run using Docker Compose a private SOCKS server with simple username/password auth, clone this project and create a settings file:

$ git clone https://github.com/adegtyarev/docker-dante.git
$ cd docker-dante
$ vim .env

Set the following parameters:

  • SOCKD_PORT: the port to listen to
  • SOCKD_USER_NAME: the username to use by clients
  • SOCKD_USER_PASSWORD: the password

For example:

$ cat .env
SOCKD_PORT=1080
SOCKD_USER_NAME=username
SOCKD_USER_PASSWORD=password

Start a new container:

$ docker-compose up -d

The SOCKS server should be up and ready to serve. An example command to test the proxy service you have just set up:

$ curl -x socks5h://username:[email protected]:1080 http://example.com

Access the logs with:

$ docker-compose logs -f dante

Author

Alexey Degtyarev @adegtyarev

About

A free SOCKS server in a Docker environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published