19
How to automate windscribes ephemeral port update in qbittorrent?
(lemmy.dbzer0.com)
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
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
If you happen to use gluetun (great project btw) you can use the environment property
VPN_PORT_FORWARDING=on
and a volume mapping to/tmp/gluetun/forwarded_port
to obtain the port number from the container. Then with the bittorrent-port-forward-file container (Link) you can automatically set the port from the file to qbittorrent.I use this with ProtonVPN and it works like a charm.
Here the relevant parts of my docker compose file:
The file containing the port number sits at
./port-forwarding/forwarded_port
on the host (you may need to create the empty file before first usage).See gluetun wiki here: Link
Hey, thanks for replying. I do use gluetun :). Unfortunately I use windscribe, and there I can't have a permanent port.. I have to generate a port manually every 7 days. So I don't think this method will work with windscribe. Thanks for the help though