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

ProtonVPN Not Passing Data Using Wireguard #206

Open misleadingrhino opened 7 months ago

misleadingrhino commented 7 months ago

Issue No connection to Internet when set up with Proton

Recently changed from PIA to Proton and I'm trying to get it set up.

Got a P2P server Wireguard config from Proton and put it in /config/wireguard/wg0.conf. Options for NAT-PMP are enabled on the config.

Everything shows good in the logs, but it repeatedly seems to be reconnecting and printing the received port to the log. This may be expected behavior, but it's different from what it did under PIA.

Using the libtorrentv1 tagged release. Have tried the 4.5.5 release as well.

Can't get a connection to any of the torrents to go over 1KB but qbit still shows them as active sometimes. No traffic seems to pass through a Privoxy connection either.

Logs are at https://gist.github.com/misleadingrhino/6a3be20e326dd850d1d036ecf802c0bc.

Edit: Looking through the Proton manual instructions it looks like this is because the port forwarding only lasts 60 seconds unless it's looped.

Edit 2: I changed to a European server, both Wireguard and OpenVPN, and any public torrents start connecting over DHT, but they don't connect to any trackers. Neither do any of the private trackers, leading me to think it's related to DNS. I'm using the DNS servers from this pinned issue. I've also tried the ones mentioned in the base Readme but no differences.

Edit 3: After switching to a OpenVPN server in Europe, this started working. Still can't get Wireguard to work so I'm changing the title.

cryptedbv commented 6 months ago

Having the exact same issue here. Found any solution? The performance difference between OpenVPN and Wireguard are massive, and I'd hate to use OpenVPN.

misleadingrhino commented 6 months ago

No, never got Wireguard to work.