Script to get new IP addresses in JDownloader by reconnecting Private Internet Access.
- Go to Settings -> Reconnect
- Tick all three checkboxes.
- Set method to
External Batch Reconnect
- Set interpreter to
cmd /c
- Set script to
piactl.exe background enable
timeout 3
piactl.exe disconnect
piactl.exe connect
- Set application folder to
C:\Program Files\Private Internet Access
- Go to Settings -> Reconnect
- Tick all three checkboxes.
- Set method to
External Batch Reconnect
- Set interpreter to
/bin/bash -c
- Set script to
./piactl background enable
./piactl disconnect
./piactl connect
- Set application folder to
/usr/local/bin
I would check if there is a cli client for Proton VPN. Alternatively you could try downloading OpenVPN / Wireguard configs from Proton VPN and use the OpenVPN / WIreguard cli. That approach should be applicable irrespective of the OS. However it might be, that the OpenVPN configs are one for each server (and therefore IP), so you might need to do something like a script with a list of profiles where you randomly select one each time.
https://protonvpn.com/support/vpn-config-download/
I just gave up on that stuff a while back and use services like real-debrid and alldebrid now. Faster speeds and no IP refreshing all the time. If you are willing to spend ~3€ per month just go with that.