Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QBITTORRENT_SERVER is empty or not set #12

Open
TheMinecraftGuyGuru opened this issue May 9, 2023 · 4 comments
Open

QBITTORRENT_SERVER is empty or not set #12

TheMinecraftGuyGuru opened this issue May 9, 2023 · 4 comments

Comments

@TheMinecraftGuyGuru
Copy link

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
Copy link
Owner

soxfor commented May 9, 2023

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
Copy link

smh51 commented May 13, 2023

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
Copy link

smh51 commented May 13, 2023

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
Copy link

smh51 commented May 13, 2023

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

  • use wireguard
  • create a network for gluetune
  • in gluetune, specify the network ( networks:
    - gluetun-network)
  • in portainer, check the corresponding subnet of the network, in my case it was 172.20.0.0/16
  • in gluetun environnement variables specify - FIREWALL_OUTBOUND_SUBNETS=172.20.0.0/16

-in qbittorrent-natmap, environement variables, specify following explicitly
- QBITTORRENT_SERVER=10.2.0.2
- QBITTORRENT_PORT=8080
- QBITTORRENT_USER=[redacted]
- QBITTORRENT_PASS=[redacted]
- VPN_GATEWAY=10.2.0.1
- VPN_CT_NAME=gluetun
- VPN_IF_NAME=tun0
- CHECK_INTERVAL=300
- NAT_LEASE_LIFETIME=300

hope it helps !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants