Proxy-Server
Docker-Anwendung from ich777's Repository
Übersicht
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:
- Go to the built in VPN Manager in the Settings tab in Unraid
- Import the configuration vrom your VPN provider
- Make sure that "Peer type of access" is set to "VPN tunneled access for docker"
- Change the slider to active
- Set the network from this container to the
wg:network from your provider
To connect the container to a already installed VPN container:
- Set the
Network Typein this Docker template toNone - 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 changeCONTAINERNAMEto the VPN Docker container name eg:--net=container:binhex-delugevpnwhen the VPN Docker container name isbinhex-delugevpn- case sensitive!). - 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. - 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.
Laufzeit-Argumente
- Netzwerk
bridge- Shell
bash- Privilegiert
- false
- Extra Params
--restart=unless-stopped --sysctl net.ipv6.conf.all.disable_ipv6=1
Konfiguration der Vorlage
http/https proxy port
- Ziel
- 8118
- Wert
- 8118
SOCKS5 proxy port
- Ziel
- 1080
- Wert
- 1080
Enable or disable http/https proxy
- Ziel
- HTTP_PROXY
- Standard
- true|false
- Wert
- true
Enable or disable SOCKS5 proxy
- Ziel
- SOCKS5_PROXY
- Standard
- true|false
- Wert
- true
User for http/https proxy (leave empty for no authentication)
- Ziel
- HTTP_PROXY_USER
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: ?#/[]{}.:,/-_~-+
- Ziel
- HTTP_PROXY_PWD
User for SOCKS5 proxy (leave empty for no authentication)
- Ziel
- SOCKS5_PROXY_USER
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: ?#/[]{}.:,/-_~-+
- Ziel
- SOCKS5_PROXY_PWD
http/https proxy port (only change if you know what you are doing)
- Ziel
- HTTP_PROXY_PORT
- Wert
- 8118
SOCKS5 proxy port (only change if you know what you are doing)
- Ziel
- SOCKS5_PROXY_PORT
- Standard
- 1080
- Wert
- 1080
Only change when you know what you are doing!
- Wert
- 99
Only change when you know what you are doing!
- Wert
- 100
Only change when you know what you are doing!
- Wert
- 0000
Kategorien
Statistik herunterladen
Gesamte Downloads im Laufe der Zeit
Einzelheiten
ghcr.io/ich777/proxy-serverFühren Sie Proxy-Server auf Unraid aus.
Proxy-Server ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.