2017-04-25 00:03:06 +03:00
|
|
|
# go-socks5-proxy
|
2016-12-20 13:13:22 +03:00
|
|
|
|
2018-04-15 21:08:32 +03:00
|
|
|
Simple socks5 server using go-socks5 with or without auth.
|
2016-12-20 13:13:22 +03:00
|
|
|
|
2017-04-25 00:03:06 +03:00
|
|
|
# Start container with proxy
|
2018-04-15 21:08:32 +03:00
|
|
|
```docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> olebedev/socks5```
|
2016-12-20 13:13:22 +03:00
|
|
|
|
2018-04-16 05:39:58 +03:00
|
|
|
For auth-less mode just do not pass `PROXY_USER` and `PROXY_PASSWORD`.
|
2017-04-25 00:03:06 +03:00
|
|
|
|
|
|
|
# Test running service
|
2018-04-16 05:39:58 +03:00
|
|
|
```curl --socks5 <docker machine ip>:1080 https://ya.ru``` - result must show docker host ip (for bridged network)
|