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
133 stars 17 forks source link

QBITTORRENT_SERVER is empty or not set #12

Open TheMinecraftGuyGuru opened 1 year ago

TheMinecraftGuyGuru commented 1 year ago

I'm sure I configured something wrong since I didn't see an issue about this already, so if someone could point out what I did wrong that would be great. I have tried setting the env to multiple things, from localhost, to 10.2.0.2 to qbittorrent, and none of those seem to work. here is my configuration, I am using ProtonVPN docker-compose.yml

soxfor commented 1 year ago

Hi @TheMinecraftGuyGuru

On your docker-compose.yml you have VPN_GATEWAY 10.20.(..) It should probably be 10.2.(..)

You can also try leaving that variable not set, and the script should find the address.

smh51 commented 1 year ago

hello,

same issue here, but i'm trying to use openvpn solution with protonvpn on a synology NAS. here is my docker compose file https://pastebin.com/0dytQNrc

smh51 commented 1 year ago

and i've tried with wireguard, also no success :(

2023-05-13 11:12:37 | VPN container gluetun in healthy state! 2023-05-13 11:12:38 | QBITTORRENT_SERVER is empty or not set.

smh51 commented 1 year ago

finally it's working. for others this is what i did :

-in qbittorrent-natmap, environement variables, specify following explicitly

hope it helps !