Sign inSign up

mitterm/go-socks5-proxy

By mitterm

Updated about 5 years ago

Image
0

1M+

mitterm/go-socks5-proxy repository overview

go-socks5-proxy (arm/rasberry pi build)

Simple socks5 server using go-socks5 with authentication options

Start container with proxy

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

Leave PROXY_USER and PROXY_PASSWORD empty for skip authentication options while running socks5 server.

List of all supported config parameters

ENV variableTypeDefaultDescription
PROXY_USERStringEMPTYSet proxy user (also required existed PROXY_PASS)
PROXY_PASSWORDStringEMPTYSet proxy password for auth, used with PROXY_USER
PROXY_PORTString1080Set listen port for application inside docker container

Test running service

Without authentication

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

or

docker run --rm curlimages/curl:7.65.3 -s --socks5 <docker host ip>:1080

With authentication - result must show docker host ip (for bridged network)

curl --socks5 --user <PROXY_USER>:<PROXY_PASSWORD> <docker host ip>:1080 http://ifcfg.co

or

docker run --rm curlimages/curl:7.65.3 -s --socks5 <PROXY_USER>:<PROXY_PASSWORD>@<docker host ip>:1080

Authors

  • Sergey Bogayrets

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

Credits

Full credits go to serjs

Tag summary

Content type

Image

Digest

Size

974.1 kB

Last updated

about 5 years ago

docker pull mitterm/go-socks5-proxy