There’s a reason why most providers don’t allow that feature anymore
Yes, cheese pizza
It’s said that port forwarding is a security risk
Says who? Assuming a fully patched system/client and a properly configured firewall/network, I'd love to hear more about these "risks".
Also, qBitTorrent works just fine without it.
Only if you don't care about seeding
gluetun bundles a control server on port 8000 which you can query for the port number (don't worry about
openvpn
being in the url path, it still works with Wireguard). In my bash script (running on the host system), I usecurl
to retrieve the forwarded port number and then do a POST with that data to the API of my qbt client which is running in another container on port 8080.