[Testers Wanted] Simple PIA VPN Gateway

Yes a VPN Client so you can setup other computers gateway to point to the Pi IP address.

Does not work, need to update if you ask me.

Open Settings and tap on Wireless Controls.
Tap on VPN Settings.
Tap on Add VPN.
In the VPN Name field, enter Private Internet Access.
For Type, Choose L2TP/IPSec PSK.
In Server address Enter us-california.privateinternetaccess.com.
Leave L2TP Secret and IPSec Identifier blank.
In the IPSec Pre-shared key type: mysafety
Tap Save
Open Settings and tap on Wireless Controls
Tap on Private Internet Access
Enter your Generated Username and Password If you have not generated this yet, please follow the steps here
Check Save account information if you want to save the password
Tap Connect

When I get to the install where it asks to select an endpoint nothing comes up in the list.

odd, I just tried it with a fresh DietPi install and I got the full list.

Could you try running the script again, it’s possible it failed to download the endpoints from the PIA website.

I can’t because it cut off internet access to the vm

I’m fairly certain it won’t have been caused by this script as the only things it will have done up until that point were to install the openvpn client and download a zip file from PIA, all the killswitch functionality is configured last and it does not touch any networking configuration.

I’ve been using this since Aug 2019 & (while the setup didn’t go smoothly for me) now it’s up & running, it’s worked flawlessly ever since.

Thank you for this script - it’s a great help

+1000 likes for this!
SUPER easy setup script for me.
I did run into an issue with enabling the kill switch. The install seemed to hang there, and maybe I just wasn’t patient enough, but I exited the install and re-ran it, opting to not enable the kill switch.

Do agree with the previous post that specifies additions for DNS leaking. The two lines they specified adding worked for me.
FWIW.

Now I’m on to attempt opening an incoming port for Deluge. If you have a magical way to do this, I’d be psyched!

Erik

AFAIK PIA changed their systems some time within the last 12 months.

They now provide this:

https://github.com/pia-foss/manual-connections/

… but as yet I have not managed to adjust my perfectly functional headless client set up (not a DietPi scenario) to use it.

Does this install script factor in the new PIA systems?

After running quietly in the background for the past 4 years my microSD card started to die. This was as good a time as any to update from a very old DietPI (6.24) version to the latest.

I was quite pleased to discover that after updating to the latest DietPI and running this script the PIA VPN still worked as expected.

Even my (unreleased) script to handle the port forwarding works. So far, so good :slight_smile:

1 Like