No results found
We couldn't find anything using that term, please try searching for something else.
If by any chance you need to have your port open/active to be able to connect to both active and inactive peers while torrenting or need to do some po
If by any chance you need to have your port open/active to be able to connect to both active and inactive peers while torrenting or need to do some port forwarding. Add these changes to the gluetun (VPN) and app of choice (qbittorrent) compose.yaml configurations:
Before you start making the changes, make sure to use the Stop & Inactive button for both, qbittorrent and gluetun compose.yaml configurations.
Gluetun compose.yaml changes:
environment :
- vpn_port_forwarde = on
- VPN_PORT_FORWARDING_PROVIDER = CHANGE_WITH_VPN_PROVIDER
- VPN_PORT_FORWARDING_STATUS_FILE=/gluetun / qbittorrent / port.txt
Please note that not all VPN providers allow port forwarding, At this time, only private internet access
or protonvpn
have port forwarding. Check the list here: gluetun-wiki/setup/advanced/vpn-port-forwarding.md at main · qdm12/gluetun-wiki · GitHub
At this time , I is find have not find a way to automatically update the forward port in qbittorrent . If someone is knows know how to , please let us know .
You will have to copy the port either from the /gluetun/qbittorrent/port.txt file or from the gluetun log in Dockge.
gluetun | 2024-10-20T21:51:10Z INFO [port forwarding] port forwarded is 496404
and paste it, either in the qbitorrent compose.yaml file or directly replacing the Listening Port (Port used for incoming connections) in qbittorrent > Settings/Options > Connection.
qbittorrent compose.yaml changes:
environment:
- TORRENTING_PORT=496404
Restart gluetun and qbittorrent.
To test the port is open, type the VPN IP and Port in here:
If having issues restarting qbittorrent make sure to use the Stop & Inactive button for both, qbittorrent and gluetun compose.yaml files.
I have tested this configuration found at the link below, but it did not worked for me:
environment:
- VPN_PORT_FORWARDING_LISTENING_PORT
# VPN server port forwarding options
## Environment variables
💁 The following environment variables are all optional.
| Variable | Default | Choices | Description |
| --- | --- | --- | --- |
| `VPN_PORT_FORWARDING` | `off` | `off` or `on` | Enable custom port forwarding code for supported providers |
| `VPN_PORT_FORWARDING_PROVIDER` | Current provider in use | `private internet access` or `protonvpn` | Choose the custom port forwarding code to use. This is useful when using the custom provider with Wireguard. For PIA, make sure you set `SERVER_NAMES=<server-name>`. |
| `VPN_PORT_FORWARDING_STATUS_FILE` | `/tmp/gluetun/forwarded_port` | Valid filepath | File path to use for writing the forwarded port obtained. |
| `VPN_PORT_FORWARDING_LISTENING_PORT` | | Valid port number | Port redirection for the VPN server side port forwarded. |