How to setup Nord VPN with qbittorrent on TrueNAS Scale using Docker

Опубликовано: 20 Май 2026
на канале: NavJS
6,886
77

In this video I have explained how you can setup any VPN client to download files using torrent client on TrueNAS Scale using Docker containers.

Docker Image:

FROM qmcgaw/gluetun:latest

RUN apk update && \
apk add qbittorrent-nox

ENV VPN_SERVICE_PROVIDER=nordvpn
ENV OPENVPN_USER=username
ENV OPENVPN_PASSWORD=password
ENV SERVER_REGIONS=Canada
ENV VPN_TYPE=openvpn

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

RUN chmod +x /gluetun-entrypoint

EXPOSE 30078 8989 8118 9091 6881 6881/udp

ENTRYPOINT \["/bin/sh", "/entrypoint.sh"\]


Create a seperate entrypoiont.sh file with following content in same folder:

/gluetun-entrypoint &

sleep 20

qbittorrent-nox --webui-port=30078 --profile=/config



Finally run following commands with your own docker username:
docker build -t username/vpn-torrent:latest
docker tag username/vpn-torrent:lastest username/vpn-torrent:latest
docker push username/vpn-torrent:latest