soxfor / qbittorrent-natmap

The objective of this container is to run a script that requests a port forward (via NAT-PMP) from the VPN provider and upon success changes the listening port of the qBittorrent client when running in Docker
149 stars 18 forks source link

Default QBITTORRENT_SERVER to localhost #11

Closed NovaCaller closed 1 year ago

NovaCaller commented 1 year ago

Just a small update that defaults QBITTORRENT_SERVER to localhost. With the example config, both qbittorrent and qbittorrent-natmap use the gluetun container as network mode. Therefore they share the same virtual host and qbittorrent-natmap can reach qbittorrent via localhost. Defaulting it to localhost saves some time when figuring out the config.

This was tested with gluetun connected to ProtonVPN via OpenVPN (can't test WireGuard as it doesn't want to work properly with wsl).

soxfor commented 1 year ago

Hey @NovaCaller Thank you for the pr! Nice catch. I've tested and it works fine with that change.