this post was submitted on 27 Aug 2023
23 points (96.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54577 readers
469 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

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?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

Hey, unlikely as the wan traffic should be going via the vpn. But at least you set it correctly now.

[–] [email protected] 2 points 1 year ago

I see, thanks for the answers and your time.

[–] [email protected] 1 points 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)