HTPCGuides / pia-port-forwarding-scripts

PIA Port forwarding scripts
http://www.htpcguides.com/
9 stars 5 forks source link

Updated PIA Port Forwarding API to use working API #2

Open GeorgeAnton1 opened 7 years ago

GeorgeAnton1 commented 7 years ago

As of Feb 2nd 2017, PIA implemented a new way of requesting an open port and phased out the previous way (that of which was used in these scripts).

See here for more details on that: https://www.privateinternetaccess.com/forum/discussion/23431/new-pia-port-forwarding-api

With this new implementation a cron job polling for a new port is no longer requrired just once on reboot.

The VPN IP and Port are now exported to a text file once connected.

The Transmission script wasn't tested, however the changes made to it were identical to that of the deluge script which was tested (on a split VPN system).