binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
397 stars 46 forks source link

Sharing a docker-compose.yaml example for Proton VPN #201

Open jasonleexp opened 8 months ago

jasonleexp commented 8 months ago

Looks like ProtonVPN is now officially supported, but I didn't see any official documentation or examples of how to run the container with it.

Sharing my docker-compose.yaml in case anyone needs it in the future:

version: '3.9'
services:
    arch-qbittorrentvpn:
        image: binhex/arch-qbittorrentvpn
        container_name: qbittorrentvpn
        volumes:
            - '/volume1/docker/qbittorrentvpn/config:/config'
            - '/volume1/media/downloads:/data'
            - '/etc/localtime:/etc/localtime:ro'
        ports:
            - '49550:49550'
            - '49551:8118'
        environment:
            - VPN_ENABLED=yes
            - VPN_PROV=protonvpn
            - VPN_CLIENT=openvpn
            - VPN_USER=yourprotonvpnusernamehere+pmp
            - VPN_PASS=yourprotonvpnpasswordhere
            - STRICT_PORT_FORWARD=yes
            - 'NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
            - LAN_NETWORK=192.168.1.0/24
            - ENABLE_PRIVOXY=yes
            - PUID=1060
            - PGID=65536
            - WEBUI_PORT=49550
            - UMASK=000
            - DEBUG=false
        cap_add:
            - NET_ADMIN
        network_mode: bridge
        restart: unless-stopped

Notes:

aevans1987 commented 3 months ago

Out of curiosity, Is the network_mode: bridge required?

Damien2417 commented 3 months ago

anyone can help me how to port forward properly ? I mean I've added the +pmp, added my port in qbittorrent, and then ? my port seem still closed :(

ItsCalebJones commented 2 months ago

I've tried a half dozen other docker images as well ^ having the same issue using ProtonVPN - everything SEEMS okay but no upload.