r/voidlinux • u/rnga76 • May 13 '26
Pia vpn in voidlinux...
Hi everyone, my first time here, I am running encrypted voidlinux(glibc) with riverwm for about a day now, I hope to find a user that is using private internet access vpn with voidlinux...how did you installed and then called it on init....? Thank you in advance.
1
Upvotes
2
u/Asleep_Detective3274 May 13 '26
I'm using it, but I'm not using the desktop client, I'm just connecting to it with openvpn and networkmanager
2
u/StrangeAstronomer May 13 '26
Here's my process:
I'm running an old version pia-linux-3.6.1-08339 from Nov 2024 - I should upgrade and report back on if it still works but I might not have time for that until tomorrow.
Download the .run file from https://www.privateinternetaccess.com/download/linux-vpn
... the --skip-service option omits systemd AFAIK. I don't think you need to do that as root, but maybe?? Can't recall.
To use openvpn without the client:
2
u/ajcormo May 13 '26
I use it in Void. It allows installation without the systemd service. Then you need to create a service for runit and enable it.
bash pia-linux-<version>-<revision>.run -- --skip-servicesudo mkdir -p /etc/sv/piavpnsudo micro /etc/sv/piavpn/run#!/bin/shexec /opt/piavpn/bin/pia-daemonsudo chmod +x /etc/sv/piavpn/runsudo ln -s /etc/sv/piavpn /var/service