Open DanielOaks opened 7 years ago
Hi DanielOaks thank you very much for notifying us. This is good news, I checked the new script and the new API indeed simplifies things. No username and password needed, and very nice feature that the port number will not change, no polling needed anymore. Can you specify when does the port number changes and when should the script run? Once connected to VPN server, the port number will not change until the connection is up. But if we do a restart of OpenVPN service, then we should run the script again?
No problem, glad to help! We've talked about this via email and I'm gonna run those tests for you, but just for anyone else reading this:
If anyone else stumbles upon this, I've made a pull request to use PIA's new API for requesting a port as the one in the current script no longer works.
Hey! I'm just opening this issue to let you know that we (PIA) have a new port forwarding API available. It'd be worth taking a look on our forums over here: https://www.privateinternetaccess.com/forum/discussion/23431/
Specifically, a few things you'll want to keep in mind with the new API are:
Any issues, feel free to reply here and I'll take a look.