Yeah that would be great. What I used with my previous vpn provider was a script that runs when the vpn was reconnected. It did edit the qBittorrent config file to change the port and restarted qBittorrent. The script requested the forwarded port through a cmd command of the vpn client. It is not the optimal solution but it works. Unfortunately this doesn't work for ProtonVPN because they don't support cmd commands in their Windows application. The best solution would be a static portforwarding or a feature that ProtonVPN is able to request to change the settings of the torrent client. I'm not a programmer or something but I think it should be possible through the webinterfaces of the torrent clients (but I understand that it's a very specific feature for a vpn client). Otherwise I would be satisfied with cmd/Powershell support in the Windows client.
Yeah that would be great. What I used with my previous vpn provider was a script that runs when the vpn was reconnected. It did edit the qBittorrent config file to change the port and restarted qBittorrent. The script requested the forwarded port through a cmd command of the vpn client. It is not the optimal solution but it works. Unfortunately this doesn't work for ProtonVPN because they don't support cmd commands in their Windows application. The best solution would be a static portforwarding or a feature that ProtonVPN is able to request to change the settings of the torrent client. I'm not a programmer or something but I think it should be possible through the webinterfaces of the torrent clients (but I understand that it's a very specific feature for a vpn client). Otherwise I would be satisfied with cmd/Powershell support in the Windows client.