Hello people I recently set up a qBittorrent + Arr setup that is being run through a Gluetun container. I also got a port from AirVPN and added it as the FIREWALL_VPN_INPUT_PORTS environment variable to the docker-compose file. I am also able to see it on canyouseeme.

Gluetun is running on the port 6881 and the “Port used for incoming connections” is also 6881 in the qBittorrent settings. Should I change the incoming port to the one I got from AirVPN in the qBittorrent or is Gluetun already handling it for me?

Also should I run the Gluetun on the port I got from the AirVPN or is 6881 fine?

  • Dr_Frankenstein@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    You are correct the FIREWALL_VPN_INPUT_PORT is to allow the port to be opened on the vpn side of the connection. You will add the port provided to you from Air as that variable and set the same port within qbittorrent.

    You should not be adding the port 6881 anywhere, example compose below from the guide on my website.

    https://paste.drfrankenstein.co.uk/?6be32ded3f56a96c#9q46W92Ah424RMoB4qM2o8UHL1CBxickoZKZgH9Nsfop

    • whereBeWaldo@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Hmm I see, I had the port in 6881 docker-compose and used it for the incoming connections in qBittorrent for 2 days or so, would that get me a notice from the ISP? I’ve been using network_mode: "service:gluetun" the whole time and the curl https://ipleak.net/json/ from the qBittorrent container console always delivered the ip of my vpn.

  • entropicdrift@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    The only ports you need to expose from Gluetun are the ones for the webUI for each of the containers you’re running thru it. You should never expose the port for incoming connections since that would make your torrenting traffic avoid the VPN.

    Your qBittorrent and *arr containers should be run with network: “service: gluetun” in your docker-compose file (assuming you’re using compose)