I've been having an issue thats been preventing me from switching to Mullvad like I'd like to do. All I did was change the VPN provider to custom and put the wg0.conf file in the proper wireguard directory. I stripped out the IPv6 stuff from the config file.
I can access the webUI from the server's local IP and port, but whenever I try to access it via reverse proxy I get a 504 timeout error. I have Nginx Proxy Manager running on a separate machine. It all worked properly when using PIA with the generated file.
No log entries past "[info] qBittorrent process listening on port 8080"
Nginx Proxy Manager has this in the error log for this proxy entry:
2023/05/04 16:12:12 [error] 1913618#1913618: *139310 upstream timed out (110: Connection timed out) while connecting to upstream, client: [IP ADDRESS], server: QB.DOMAIN.COM, request: "GET / HTTP/2.0", upstream: "http://[LOCAL IP]:8080/", host: "QB.DOMAIN.COM", referrer: "https://NPM.DOMAIN.COM"
I ran curl on the local IP address from the NPM server and it comes up fine. If I run curl on the webUI's port it times out.
It seems I can contact the Unraid server just fine, but attempts to contact the specific port for qBittorrent fail. Any ideas on where to start?
UPDATE: I think I narrowed it down. I have the machines connected via Tailscale, and when I change the LAN_NETWORK variable to 100.0.0.0/8, which is what Tailscale uses, everything works, but now I can't access it from my local IP. Any better way to set this up so I can use both?
UPDATE 2: I just discovered I can have multiple LAN networks in the LAN_NETWORK variable separated by a comma. All is good now that I have both in there.