3proxy-docker
3proxy-docker copied to clipboard
:calling: Docker image with 3proxy - Tiny free proxy server
Docker image with 3proxy
Why this image created?
3proxy is awesome and lightweight proxy-server. This image contains stable version with it and can be configured using environment variables. By default, it uses anonymous (information about client hiding) proxy settings. Logging in JSON format.
Page on
hub.docker.com
can be found here.
TCP ports:
Port number | Description |
---|---|
3128 |
HTTP proxy |
1080 |
SOCKS proxy |
Supported tags
Registry | Image |
---|---|
GitHub Container Registry | ghcr.io/tarampampam/3proxy |
Docker Hub | tarampampam/3proxy |
All supported image tags can be found here.
Since v1.8.2 architecture arm64
(and amd64
of course) is supported:
$ docker run --rm mplatform/mquery ghcr.io/tarampampam/3proxy:1.8.2
Image: ghcr.io/tarampampam/3proxy:1.8.2
* Manifest List: Yes (Image type: application/vnd.docker.distribution.manifest.list.v2+json)
* Supported platforms:
- linux/amd64
- linux/arm64
Supported environment variables
Variable name | Description | Example |
---|---|---|
PROXY_LOGIN |
Authorization login (empty by default) | username |
PROXY_PASSWORD |
Authorization password (empty by default) | password |
EXTRA_ACCOUNTS |
Additional proxy users | {"evil":"live", "guest":"pass"} |
PRIMARY_RESOLVER |
Primary nameserver (dns resolver; 1.0.0.1 by default) |
8.8.8.8:5353/tcp |
SECONDARY_RESOLVER |
Secondary nameserver (dns resolver; 8.8.4.4 by default) |
2001:4860:4860::8844 |
MAX_CONNECTIONS |
Maximal connections count (1024 by default) |
2056 |
PROXY_PORT |
HTTP proxy port number (3128 by default) |
8080 |
SOCKS_PORT |
SOCKS proxy port number (1080 by default) |
8888 |
EXTRA_CONFIG |
Additional 3proxy configuration (will be added to the end of the config file) | # line 1\n# line 2 |
How can I use this?
For example:
$ docker run --rm -d \
-p "3128:3128/tcp" \
-p "1080:1080/tcp" \
ghcr.io/tarampampam/3proxy:latest
Or with auth & resolver settings:
$ docker run --rm -d \
-p "3128:3128/tcp" \
-p "1080:1080/tcp" \
-e "PROXY_LOGIN=evil" \
-e "PROXY_PASSWORD=live" \
-e "PRIMARY_RESOLVER=2001:4860:4860::8888" \
ghcr.io/tarampampam/3proxy:latest
Releasing
New versions publishing is very simple - just make required changes in this repository, update changelog file and "publish" new release using repo releases page.
Docker images will be build and published automatically.
New release will overwrite the
latest
docker image tag in both registers.
Changes log
Changes log can be found here.
Support
If you find any errors, please, make an issue in current repository.
License
WTFPL. Use anywhere for your pleasure.