Proxy-Server

Proxy-Server

Application Docker from ich777's Repository

Vue d'ensemble

This container is a dedicated http/https and SOCKS5 proxy both with authentication support.
It's intended usecase is to use it in combination with a VPN container to give your applications outside of your server access to the VPN.

If you VPN supports native Wireguard support:

  1. Go to the built in VPN Manager in the Settings tab in Unraid
  2. Import the configuration vrom your VPN provider
  3. Make sure that "Peer type of access" is set to "VPN tunneled access for docker"
  4. Change the slider to active
  5. Set the network from this container to the wg: network from your provider

To connect the container to a already installed VPN container:

  1. Set the Network Type in this Docker template to None
  2. Enable the Advanced View on the top right corner from this Docker template and append:
    --net=container:CONTAINERNAME
    To the Extra Parameters (you have to change CONTAINERNAME to the VPN Docker container name eg: --net=container:binhex-delugevpn when the VPN Docker container name is binhex-delugevpn - case sensitive!).
  3. Go to the VPN Docker template and create two new port mappings with the button Add another Path, Port, Variable, Label or Device, by default 8118 (for http/https proxy) and 1080 (for SOCKS5 proxy) both TCP protocol and with host/container port set to the same port.
  4. When you've done that you can connect the application(s) to the proxy to the host IP from the VPN Docker container, by default with 8118 (for http/https proxy) and 1080 (for SOCKS5 proxy)

Note for Firefox and Chrome: Firefox and Chrome natively don't support authentication for a SOCKS5 proxy, it is recommended to use a extension like FoxyProxy supports authentication).

URL encode: If you are using a password with special charcters and want to use the http/https proxy system wide, the container ships with urlencode to convert your password to a URL compatible format. Just open up a terminal from the container, issue urlencode and follow the prompts.

The container uses dumbproxy and socks5 (both written in golang) as a backend to serve http/https and SOCKS5 proxy.

Arguments d'exécution

Réseau
bridge
Coquille
bash
Privilégié
false
Paramètres supplémentaires
--restart=unless-stopped --sysctl net.ipv6.conf.all.disable_ipv6=1

Configuration du modèle

http/https ProxyPorttcp

http/https proxy port

Cible
8118
Valeur
8118
SOCKS5 ProxyPorttcp

SOCKS5 proxy port

Cible
1080
Valeur
1080
http/https Proxy EnabledVariable

Enable or disable http/https proxy

Cible
HTTP_PROXY
Défaut
true|false
Valeur
true
SOCKS5 Proxy EnabledVariable

Enable or disable SOCKS5 proxy

Cible
SOCKS5_PROXY
Défaut
true|false
Valeur
true
http/https UserVariable

User for http/https proxy (leave empty for no authentication)

Cible
HTTP_PROXY_USER
http/https PasswordVariable

Password for http/https proxy (Not all special characters are allowed, please see the log if the container catches a non allowed character)Allowed special characters are: ?#/[]{}.:,/-_~-+

Cible
HTTP_PROXY_PWD
SOCKS5 UserVariable

User for SOCKS5 proxy (leave empty for no authentication)

Cible
SOCKS5_PROXY_USER
SOCKS5 PasswordVariable

Password for SOCKS5 proxy (Not all special characters are allowed, please see the log if the container catches a non allowed character)Allowed special characters are: ?#/[]{}.:,/-_~-+

Cible
SOCKS5_PROXY_PWD
http/https Proxy PortVariable

http/https proxy port (only change if you know what you are doing)

Cible
HTTP_PROXY_PORT
Valeur
8118
SOCKS5 Proxy PortVariable

SOCKS5 proxy port (only change if you know what you are doing)

Cible
SOCKS5_PROXY_PORT
Défaut
1080
Valeur
1080
UIDVariable

Only change when you know what you are doing!

Valeur
99
GIDVariable

Only change when you know what you are doing!

Valeur
100
UMASKVariable

Only change when you know what you are doing!

Valeur
0000

Télécharger les statistiques

14,573
Total des téléchargements
701
Ce mois-ci
673
Moyenne / Mois

Total des téléchargements au fil du temps

Chargement du graphique...

Détails

Référentiel
ghcr.io/ich777/proxy-server
Dernière mise à jour2025-12-11
Première vue2024-03-19

Exécutez Proxy-Server sur Unraid.

Proxy-Server est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.