Package Details: piavpn-bin 1:3.5.7-2

Git Clone URL: https://aur.archlinux.org/piavpn-bin.git (read-only, click to copy)
Package Base: piavpn-bin
Description: Private Internet Access client
Upstream URL: https://privateinternetaccess.com/
Keywords: private-internet-access vpn
Licenses: custom
Conflicts: pia-launch, pia-manager, pia-tools, private-internet-access-vpn
Provides: piavpn
Submitter: solsticedhiver
Maintainer: lobroc
Last Packager: lobroc
Votes: 22
Popularity: 0.072227
First Submitted: 2020-04-14 15:32 (UTC)
Last Updated: 2024-04-07 07:12 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Pinned Comments

lobroc commented on 2023-09-20 15:26 (UTC) (edited on 2023-09-20 15:30 (UTC) by lobroc)

Warning: the iproute2 package has updated from version 6.4.0 to 6.5.0, and with it the default rt_tables location has changed from /etc/iproute2/rt_tables to /usr/lib/iproute2/rt_tables. I've rolled out a fix for this change in the latest version. When updating your package, please remove the package, and then reinstall it, so that everything in the piavpn-bin.install gets re-run. You will need to re-run 'sudo systemctl enable --now piavpn.service'

Arvid commented on 2023-02-18 00:39 (UTC) (edited on 2023-02-18 01:07 (UTC) by Arvid)

The client is here:

/opt/piavpn/bin/pia-client

solsticedhiver commented on 2023-02-17 19:16 (UTC) (edited on 2023-02-17 19:41 (UTC) by solsticedhiver)

You need to enable and start piavpn.service. Run sudo systemctl enable --now piavpn.service

Then pia-client will complete the quick tour guide, and let you login.

Latest Comments

1 2 3 4 5 6 Next › Last »

lobroc commented on 2024-04-07 07:13 (UTC) (edited on 2024-04-07 07:16 (UTC) by lobroc)

Thanks @p2a, it seems you were right: the default location for rt_tables has moved from /usr/lib/iproute2/rt_tables to /usr/share/iproute2/rt_tables... The existing edit will now work post the adjustment that I made. Ty for the heads-up!

For your second point, maybe you can try piactl background enable and then setting the kill-switch and auto-connection from the GUI? On subsequent connections, I'm guessing that everything should work.

p2a commented on 2024-03-29 02:59 (UTC)

@lobroc I think your iproute2 edit might be working, but during install these still pop up which give the impression of it not working:

:: Processing package changes...
cp: cannot stat '/usr/lib/iproute2/rt_tables': No such file or directory
awk: fatal: cannot open file `/etc/iproute2/rt_tables' for reading: No such file or directory
grep: /etc/iproute2/rt_tables: No such file or directory
(1/1) installing piavpn-bin                                                                                                              [###################################################################################] 100%
You need to start the daemon with 'sudo systemctl start piavpn.service'
Also run 'sudo systemctl enable piavpn.service' to make it automatically start at boot
Optional dependencies for piavpn-bin
    WIREGUARD-MODULE: to use the wireguard kernel module instead [installed]
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...

It's also not clear how to ensure connection at system start. I'm going to test this more, but so far it's not actually connecting at start until I manually trigger piactl connect. My goal is to have the killswitch active and so no network traffic leaves the system when it's not connected, but this is all eluding me for some reason right now. I guess in part the wiki entry is just entirely unrelated to this, even though this package is the recommended option.

lobroc commented on 2023-11-28 18:52 (UTC)

As a small note, broken split tunnelling with iproute2>=6.5.0 is now fixed as of client version 3.5.2!

lobroc commented on 2023-10-24 17:05 (UTC) (edited on 2023-10-24 17:11 (UTC) by lobroc)

Yeah, I agree, and had already considered this. This was just a way of avoiding incrementing the epoch, but sure, I'll make the change if it makes things clearer for everyone. Sorry for all the updates :(

navarroaxel commented on 2023-10-24 15:07 (UTC)

Actually you should use the version 3.5.1 instead of the build number. You can use epoch to "decrease" the version number to 3.5.1. The build number is not required to be part of the package version value.

lobroc commented on 2023-09-27 13:11 (UTC)

I pushed out the update, as I was able to reproduce the same problem on a fresh install from the .run file directly, within a brand new Arch VM (with iproute2==6.5.0-1). Feel free to double-check on your end.

The split tunnelling problem therefore isn't from how PIA is being installed by this AUR script.

I'm unfortunately not qualified enough to be able to diagnose / fix why this problem is occurring, as I believe this is on PIA's side, unless I'm mistaken. If anyone has a fix, feel free to share your thoughts. In the meantime, I'd recommend not using the split tunnelling feature. Thanks.

lobroc commented on 2023-09-26 08:50 (UTC)

I see that there's a problem @Cebtenzzre, and I'll get to it as soon as the 3.5 version is also released for arm64, as the 3.5 version possibly has fixes for this.

Cebtenzzre commented on 2023-09-26 00:22 (UTC) (edited on 2023-09-26 00:24 (UTC) by Cebtenzzre)

I'm having trouble getting the split tunnel working again after the iproute2 update. First I noticed that all traffic was bypassing the VPN. Then I reinstalled the piavpn-bin package, and now the VPN-enabled applications fail to connect to anything unless I switch the protocol to OpenVPN.