Sergey Bogatyrets 37fdc45020
Merge pull request #12 from pug-pelle-p/patch-1
Added missing closing bracket
2019-08-27 17:38:46 +03:00
2018-04-24 21:00:14 +03:00
2019-08-27 15:41:14 +02:00

go-socks5-proxy

Simple socks5 server using go-socks5 with or without auth

Start container with proxy

docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> serjs/go-socks5-proxy

For auth-less mode just do not pass envrionment variables PROXY_USER and PROXY_PASSWORD.

List of all supported config parameters

ENV variable Type Default Description
PROXY_USER String EMPTY Set proxy user (also required existed PROXY_PASS)
PROXY_PASSWORD String EMPTY Set proxy password for auth, used with PROXY_USER
PROXY_PORT String 1080 Set listen port for application

Test running service

Without auth

curl --socks5 <docker host ip>:1080 http://ifcfg.co - result must show docker host ip (for bridged network)

With auth

curl --socks5 --user <PROXY_USER>:<PROXY_PASSWORD> <docker host ip>:1080 http://ifcfg.co - result must show docker host ip (for bridged network)

Authors

  • Sergey Bogayrets

See also the list of contributors who participated in this project.

Description
Languages
Go 85.8%
Dockerfile 14.2%