Docker container which runs a headless qBittorrent client with iQbit WebUI and optional OpenVPN
10K+
Docker container which runs the latest headless qBittorrent client with WebUI VueTorrent while connecting to OpenVPN with iptables killswitch to prevent IP leakage when the tunnel goes down. This is an automated build linked with Ubuntu.
| Variable | Required | Function | Example |
|---|---|---|---|
VPN_ENABLED | Yes | Enable VPN? (yes/no) Default:yes | VPN_ENABLED=yes |
VPN_USERNAME | No | If username and password provided, configures ovpn file automatically | VPN_USERNAME=ad8f64c02a2de |
VPN_PASSWORD | No | If username and password provided, configures ovpn file automatically | VPN_PASSWORD=ac98df79ed7fb |
LAN_NETWORK | Yes | Local Network with CIDR notation | LAN_NETWORK=192.168.1.0/24 |
NAME_SERVERS | No | Comma delimited name servers | NAME_SERVERS=8.8.8.8,8.8.4.4 |
PUID | No | UID applied to config files and downloads | PUID=99 |
PGID | No | GID applied to config files and downloads | PGID=100 |
UMASK | No | GID applied to config files and downloads | UMASK=002 |
WEBUI_PORT_ENV | No | Applies WebUI port to qBittorrents config at boot (Must change exposed ports to match) | WEBUI_PORT_ENV=8080 |
INCOMING_PORT_ENV | No | Applies Incoming port to qBittorrents config at boot (Must change exposed ports to match) | INCOMING_PORT_ENV=8999 |
| Volume | Required | Function | Example |
|---|---|---|---|
config | Yes | qBittorrent and OpenVPN config files | /your/config/path/:/config |
downloads | No | Default download path for torrents | /your/downloads/path/:/downloads |
| Port | Proto | Required | Function | Example |
|---|---|---|---|---|
8080 | TCP | Yes | qBittorrent WebUI | 8080:8080 |
8999 | TCP | Yes | qBittorrent listening port | 8999:8999 |
8999 | UDP | Yes | qBittorrent listening port | 8999:8999/udp |
Access http://IPADDRESS:PORT from a browser on the same network.
| Credential | Default Value |
|---|---|
WebUI Username | admin |
WebUI Password | adminadmin |
The container will fail to boot if VPN_ENABLED is set to yes or empty and a .ovpn is not present in the /config/openvpn directory. Drop a .ovpn file from your VPN provider into /config/openvpn and start the container again. You may need to edit the ovpn configuration file to load your VPN credentials from a file by setting auth-user-pass.
Note: The script will use the first ovpn file it finds in the /config/openvpn directory. Adding multiple ovpn files will not start multiple VPN connections.
auth-user-pass credentials.conf
username
password
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:
id <username>
If you are having issues with this container please submit an issue on GitHub. Please provide logs, docker version and other information that can simplify reproducing the issue. Using the latest stable verison of Docker is always recommended. Support for older version is on a best-effort basis.
Content type
Image
Digest
Size
167.4 MB
Last updated
almost 6 years ago
docker pull firilith/iqbit-vpn