docker run -d --name socks5 -p 1080:1080 -e DIAL_TIMEOUT=3s -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> serjs/go-socks5-proxy
Leave PROXY_USER and PROXY_PASSWORD empty for skip authentication options while running socks5 server.
| 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 inside docker container |
| DIAL_TIMEOUT | String | 3s | Set dial connect timeout,default 3s |
Content type
Image
Digest
Size
1 MB
Last updated
over 6 years ago
docker pull sort/go-socks5-server