minhbnix/socks5-proxy

By minhbnix

Updated about 1 year ago

Easy Socks5 Proxy with/without Authenticator. Image only 1MB

Image
Networking
Security
1

82

minhbnix/socks5-proxy repository overview

minhbnix/socks5-proxy

  • Basic Run with no Password

    docker run -d --restart=always --name socks5 -p 1080:1080 minhbnix/socks5-proxy

  • Run docker container using specifit container port and expose it to host port 33333, without auth

    docker run -d --restart=always --name socks5 -p 33333:33333 -e PROXY_PORT=33333 minhbnix/socks5-proxy

  • Run docker container using default container port 1080 and auth:

    docker run -d --restart=always --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> minhbnix/socks5-proxy

    • Edit PROXY_USER and PROXY_PASSWORD at your discretion.
  • Run docker container using specifit container port 33333 and auth:

    docker run -d --restart=always --name socks5 -p 33333:33333 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> -e PROXY_PORT=33333 minhbnix/socks5-proxy

    • Edit PROXY_USER and PROXY_PASSWORD at your discretion.

List of 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
ALLOWED_DEST_FQDNStringEMPTYAllowed destination address regular expression pattern. Default allows all.
ALLOWED_IPSStringEmptySet allowed IP's that can connect to proxy, separator ,

Docker Compose YML Example:

services:
  socks5-proxy:
    image: minhbnix/socks5-proxy:latest
    restart: always
    ports:
      - "1080:1080"
    environment:
      - PROXY_USER=abc
      - PROXY_PASSWORD=abcabcabc
      - PROXY_PORT=1080

Authors

BNIXVN Website: https://bnix.vn/km

Tag summary

Content type

Image

Digest

sha256:1757809cd

Size

1.7 MB

Last updated

about 1 year ago

docker pull minhbnix/socks5-proxy