MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
166 stars 92 forks source link

Cannot access WebUI remotely. #153

Open jpd5749 opened 1 year ago

jpd5749 commented 1 year ago

So here's the situation. Very recently I have moved away but left the seedbox at home. I can connect to it fine in every other way, I can stream Plex from it, can SSH into it, connect to the VPN running on it, but I cannot access the WebUI for the life of me. I've tried connecting to the VPN and just accessing the IP address:8080 like I normally do, but that doesn't work. I tried port forwarding port 8080 WebUI so it can be accessed from outside the local internet, but that doesn't work either.

Looking around I found that someone raised a similar issue about this before here: https://github.com/MarkusMcNugen/docker-qBittorrentvpn/issues/14 However, the only answer is:

"If you want to use the WebUI outside your network, the best solution would be to add a reverse proxy like NGINX to handle http(s) traffic. As far as qbit will know, its coming from within the network. Expose the WebUI port to a docker network with an NGINX container and serve http(s) traffic through it"

I have no idea how to go about this. Would someone be kind enough to help me? Or, if possible, perhaps there's a better way to access the WebUI from outside the local network. I feel that this is a pretty glaring issue, because otherwise what's the point of having a seedbox if I need it to be on the local network to use it anyway?

jeremiah-k commented 1 year ago

It sounds like you might want to use something like Nginx Proxy Manager.

Project homepage: https://nginxproxymanager.com/

Screenshot: https://nginxproxymanager.com/screenshots/proxy-hosts-add.png