Update README.md
This commit is contained in:
parent
38c14c1d8e
commit
99676cd343
@ -5,7 +5,7 @@ Simple socks5 server using go-socks5 with or without auth.
|
|||||||
# Start container with proxy
|
# Start container with proxy
|
||||||
```docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> olebedev/socks5```
|
```docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> olebedev/socks5```
|
||||||
|
|
||||||
For auth-less mode do pass `PROXY_USER` and `PROXY_PASSWORD`.
|
For auth-less mode just do not pass `PROXY_USER` and `PROXY_PASSWORD`.
|
||||||
|
|
||||||
# Test running service
|
# Test running service
|
||||||
```curl --socks5 <docker machine ip>:1080 https://ya.ru``` - result must show docker host ip (for bridged network)
|
```curl --socks5 <docker machine ip>:1080 https://ya.ru``` - result must show docker host ip (for bridged network)
|
Loading…
Reference in New Issue
Block a user