Go to file
2018-04-24 21:00:14 +03:00
vendor minimal docker image aprox 3mb 2018-04-15 23:08:32 +05:00
Changelog.md Add changelog and readme files 2018-04-24 21:00:14 +03:00
Dockerfile COPY ca-certificates.crt idiomatically 2018-04-16 11:24:35 +05:00
Gopkg.lock minimal docker image aprox 3mb 2018-04-15 23:08:32 +05:00
Gopkg.toml minimal docker image aprox 3mb 2018-04-15 23:08:32 +05:00
README.md Add changelog and readme files 2018-04-24 21:00:14 +03:00
server.go minimal docker image aprox 3mb 2018-04-15 23:08:32 +05: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.

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.