binhex / arch-qbittorrentvpn

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

ProtonVPN Wireguard issue #217

Open Jecht88 opened 8 months ago

Jecht88 commented 8 months ago

I for the life of me cant get ProtonVPN to work with container. I get the below error (IP Redacted) . I am using servers with the P2P symbols. Ive tried using my OpenVPN / IKEv2 username login, and regular login. OpenVPN works fine with port forwarding, however I cant get it to work on wireguard.

2024-01-30 19:52:19,027 DEBG 'start-script' stdout output: [info] Script started to assign incoming port for 'protonvpn'

2024-01-30 19:52:21,042 DEBG 'start-script' stdout output: initnatpmp() returned 0 (SUCCESS) using gateway : 10.2.0.1 sendpublicaddressrequest returned -10 (FAILED)

2024-01-30 19:52:21,042 DEBG 'start-script' stdout output: [warn] ProtonVPN endpoint 'IP REMOVED' is not enabled for P2P port forwarding, skipping port forward assignment... [info] Script finished to assign incoming port

binhex commented 8 months ago

Try a different protonvpn endpoint, perhaps there is issues with the one you are choosing, also ensure you are following the instructions for Q31:- https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

SlimShadyIAm commented 6 months ago

Have you added +pmp to the end of the OpenVPN username? You need the OpenVPN username for Wireguard as well. This is what my environment config looks like:

    environment:
      - VPN_ENABLED=yes
      - VPN_USER=${VPN_USERNAME}+pmp
      - VPN_PROV=protonvpn
      - VPN_CLIENT=wireguard
      - STRICT_PORT_FORWARD=yes
      - ENABLE_PRIVOXY=no
      - LAN_NETWORK=192.168.1.0/24
      - PUID=1000
      - PGID=1000
      - UMASK_SET=002