this post was submitted on 27 Aug 2023
22 points (92.3% liked)

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

54050 readers
739 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


💰 Please help cover server costs.

Ko-FiLiberapay


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
[–] drfrankenstein@sh.itjust.works 4 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

[–] whereBeWaldo@lemmy.dbzer0.com 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.

[–] drfrankenstein@sh.itjust.works 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.

[–] whereBeWaldo@lemmy.dbzer0.com 1 points 1 year ago

I see, thanks for the answers and your time.

[–] entropicdrift@lemmy.sdf.org 3 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)