pypia icon indicating copy to clipboard operation
pypia copied to clipboard

Support Gen4 Network

Open stobiewan opened this issue 5 years ago • 7 comments

PIA are upgrading their network and the majority of servers no longer work with pypia, especially initialise doesn't work. See https://www.privateinternetaccess.com/helpdesk/news/posts/decommissioning-of-legacy-network. I think the generation of network manager files needs to be updated to support nextgen.

stobiewan avatar Nov 09 '20 19:11 stobiewan

Thanks for the heads up, stobiewan. I'll have to do some research on what the "nextgen" configuration looks like and if it's still possible to use PIA via network-manager

dagrha avatar Nov 10 '20 22:11 dagrha

I made a Bash-script that updates the PIA configuration files to Gen4. It is only meant as a temporary work-around until PyPia has been updated. The script can be found here: https://gist.github.com/Saltani/0295ff17f5084afdd57b0542fe6b99bd

Saltani avatar Nov 11 '20 10:11 Saltani

In addition to Saltani's nice script, I found this page that links to an "official" manual connection set up script: https://www.privateinternetaccess.com/helpdesk/kb/articles/manual-connection-and-port-forwarding-scripts

Might be a bit before I can update pypia to work with the "nextgen" networks, so perhaps people can use Saltani's script or this one in the mean time.

dagrha avatar Nov 11 '20 23:11 dagrha

@Saltani - FYI, you may want to update you instructions to have the user first install using pypia and then run your script as I found an issue on a new server where the certificates were not deployed with your script causing to VPN connections to fail.

JavaScriptDude avatar Nov 18 '20 16:11 JavaScriptDude

I have updated the script so it should no longer be nessesary to install PyPia for the VPN to work. Note however, that it has only been testet on my Fedora 33 laptop. It worked well during my own testing but there are no guarantees. Use it at your own risk!.

Saltani avatar Nov 19 '20 10:11 Saltani

@Saltani - New version works well with just a small tweak needed. I made a note on your gist.

JavaScriptDude avatar Dec 05 '20 04:12 JavaScriptDude

@JavaScriptDude - I have (hopefully) fixed the bug and replied to your note.

Saltani avatar Dec 07 '20 14:12 Saltani