Simple socks5 server
docker run --name s5 -d --restart=always -p 1111:1111 -e "USERS=user1:pass1,user2:pass2" egregors/socks5-server
Do not forget to replace usernames and passwords with your (secure) values!
Now you may try to connect to 1111 port of your host.
go build -o s5 .
USERS="user1:pass1" ./s5
Bug reports, bug fixes and new features are always welcome. Please open issues and submit pull requests for any new code.