Setting up Private Internet Access with Dietpi

Hi All,

I have just purchased Private Internet Access, I was wondering, how do I go about setting it up with Dietpi?

I want my Raspberry pi to be setup, so all the software and services that are running on dietpi are fully protected with PIA.

The services I have running are as follows.

OpenSSH,

Jellyfin,

Deluge Torrents,

Pi-Hole

Thanks :slight_smile:

Ok and what is this? A VPN? First step would be to check software documentation and how to setup on Linux/ Raspberry Pi.

Yes it’s a VPN, Do you have a like to the setup steps please?

How do I set it up with the dietpi operating system?

PIA provides .ovpn files. You can copy this onto your SBC and just use dietpi-vpn.

So the DietPi device would be the gateway of your network.
But maybe your router supports external VPN, then you could also use your router as gateway

1 Like

Yes you need to check with your VPN provider on how to get the configuration files.

Update

I have obtained the open vpn config files from Private Internet Access, the also provided the following tutorial, which I am not sure is relevant to Diet-Pi.

Linux - Setting up manual OpenVPN connection through the Terminal - Knowledgebase / Technical / Troubleshooting / OpenVPN - PIA Support Portal

My router doesn’t support external VPNs as its a router provided by my ISP.

you can use dietpi-vpn with your custom configuration file Software Installation - DietPi.com Docs

At this screen, how can I input my account details without manually inputting them in?

Copy & Paste isn’t working in my terminal session.

Can I not add a text file with my details in, the directory that has all my config files inside?

Thanks

If you connect via SSH, copy&paste would work. You need to enter credentials once. It is internally converted into a dedicated file, hence would be a nice feature to allow providing this file directly. But it does not work yet.

From the screenshot, you have ProtonVPN selected as provider. We actually support PIA directly, i.e. no need to download the OVPN manually. But adding one with “Custom” provider works as well.

But in your screenshot you’ve chosen ProtonVPN, but you’ve said you use PIA.
YOu would need to chose “custom” and the select the .ovpn file you have copied onto the device

Or “PIA”. Little benefit is that the OVPN templates are updated automatically when changing/saving settings and there should be a server/location submenu to switch to a different country when needed.

Oh there is already PIA support, nice.
I must have overlooked it when I checked the script :sweat_smile: