Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - private-internet-access-vpn

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: private-internet-access-vpn 3.3.1-2

Git Clone URL: https://aur-dev.archlinux.org/private-internet-access-vpn.git (read-only)
Package Base: private-internet-access-vpn
Description: Installs VPN profiles for Private Internet Access Service
Upstream URL: https://www.privateinternetaccess.com/
Keywords: connman networkmanager python vpn
Licenses: GPL
Submitter: flamusdiu
Maintainer: flamusdiu
Last Packager: flamusdiu
Votes: 47
Popularity: 4.325222
First Submitted: 2014-08-14 01:22
Last Updated: 2017-01-05 06:04

Pinned Comments

flamusdiu commented on 2016-10-01 10:56

Dev version -> https://aur.archlinux.org/packages/private-internet-access-vpn-dev/

You can submit issues on Github -> https://github.com/flamusdiu/python-pia

Latest Comments

1 2 3 4 5 6 ... Next › Last »

flamusdiu commented on 2017-01-17 15:41

@TimeQuelch: Dam "d" eating gnomes! =P I'll get an update pushed up.

@Cavsfan: dang it. Let me check it again locally.

TimQuelch commented on 2017-01-17 02:07

install -D -m 644 restart.conf "${pkgdir}/usr/lib/system/openvpn-client@.service.d/restart.conf"
install -D -m 755 vpn.sh "${pkgdir}/usr/lib/system/systemd/system-sleep/vpn.sh"

I think these should be:
install -D -m 644 restart.conf "${pkgdir}/usr/lib/systemd/system/openvpn-client@.service.d/restart.conf"
install -D -m 755 vpn.sh "${pkgdir}/usr/lib/systemd/system-sleep/vpn.sh"

Cavsfan commented on 2017-01-16 15:43

@flamusdio, nothing changed. I did "sudo pacman -Rs private-internet-access-vpn", which removed it. I don't know what pip is. I tried to look it up to no avail.
Anyway I get the same thing.

When I enter "pia --version" it just says 3.3 but, when I enter "$ pacman -Qs private-internet-access-vpn
local/private-internet-access-vpn 3.3.1-2

But, I still get the same exact errors when I do "sudo pia -a".
I have networkmanager, connman and openvpn all 3 installed and before I entered "pia -a" I started the connman-vpn.service.

Cavsfan commented on 2017-01-16 15:18

@flamusdio, I'll give that a try and report back.
Thank you

flamusdiu commented on 2017-01-16 15:01

@Cavslan: Should be 3.3.1. However in the error you posted, it was showing 3.3b for some reason. I went back and check to make sure that I didn't leave something in the code for the version (I have a bad habit of doing that) but didn't notice anything. Can you remove the package and make sure there isn't a version still installed through pip after removal?

Cavsfan commented on 2017-01-16 14:56

Here's what I get:
$ pia --version
No errors.

flamusdiu commented on 2017-01-16 03:27

@Cavslan: what do you get when you do `pia --version`?

Cavsfan commented on 2017-01-15 19:04

I had ConnMan installed already so I started it and entered "sudo pia -a".
These are the errors I got and pretty sure the same as I got before:
$ sudo pia -a
Traceback (most recent call last):
File "/usr/bin/pia", line 11, in <module>
load_entry_point('pia==3.3b0', 'console_scripts', 'pia')()
File "/usr/lib/python3.6/site-packages/pia/command_line.py", line 23, in main
File "/usr/lib/python3.6/site-packages/pia/run.py", line 53, in run
File "/usr/lib/python3.6/site-packages/pia/conf/properties.py", line 271, in parse_conf_file
props.port = getattr(configure_section, "port", [props.default_port])[0]
File "/usr/lib/python3.6/site-packages/pia/conf/properties.py", line 158, in port
config = self._config_lookup[self._port_lookup[value]['config']]
KeyError: 'UDP/1197'

Guess, I'll just stick to OpenVPN for now at least.

bennysdad commented on 2017-01-12 19:45

Hopefully, this will help someone. I could not connect after the last update and sudo pia -a did not help. Neither did a reboot or systemctl restart NetworkManager. I'm lazy and did not want to manually edit all 36 config files as Cavsfan did, so I waited... I'm not patient either... So, it turns out all I had to do was edit one. When I used the NetworkManager "Configure VPN" on the VPN host I usually use, it was looking for the CA Certificate in the old location. Once I told it the new location is /etc/openvpn/client, all the other hosts magically became available with the correct certificate location too. Could the problem have occurred because I had that VPN host connected when I updated the first time?

flamusdiu commented on 2017-01-11 20:09

TUN/TAP is just how VPNs work. Any VPN software will create these interfaces to push traffic through (which then gets the traffic encrypted). Yes, OpenVPN works from the CLI. Only ConnMan and NM will work from a GUI. It's all a matter of pref.