Skip to content

Instantly share code, notes, and snippets.

@voynovia
Created April 16, 2018 14:28
Show Gist options
  • Select an option

  • Save voynovia/6f00ed6b10d23365cc4db1b1eea6b4a9 to your computer and use it in GitHub Desktop.

Select an option

Save voynovia/6f00ed6b10d23365cc4db1b1eea6b4a9 to your computer and use it in GitHub Desktop.
Dante - A free SOCKS server
version: "3"
services:
proxy:
image: vimagick/dante
restart: always
ports:
- "1080:1080"
command: >
/bin/bash -c "
useradd -M socks;
sed -ri 's/^socksmethod.*/socksmethod: username/' /etc/sockd.conf;
echo socks:g4PLDGKAneNg | chpasswd;
sockd;
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment