Sign inSign up

jngom/sockd

By jngom

•Updated over 9 years ago

Dante proxy server

Image
0

1.0K

jngom/sockd repository overview

⁠sockd

This container will create a dante proxy server which has username and password authentication enabled.

⁠Start a sockd instance

$ docker run -d -p 1080:1080 -e PROXY_USER=<USERNAME> -e PROXY_PASS=<PASSWORD> --restart unless-stopped jngom/sockd:tag

⁠Environment Variables

There are 2 environment variables which are required to run this container:

⁠PROXY_USER

This is the username for the client to use when connecting to this proxy service.

⁠PROXY_PASS

This is the password for the client to use when connecting to this proxy service.

⁠Testing

To test this, run the following command, where and is the IP address and port for the target server, and and are the username and password.

curl --socks5 socks5h://<username>:<password>@<ip>:<port> ifconfig.co

⁠Configuring

⁠Change the Port

If you want to change the port from the default of 1080, don't do it in danted.conf, but instead change the port mapping in the docker run command. So, by default that portion in the run.sh script is:

-p 1080:1080

If you want to set the port to 9999, for example, use this:

-p 9999:1080

Tag summary

Content type

Image

Digest

Size

78.6 MB

Last updated

over 9 years ago

docker pull jngom/sockd