Package Details: private-internet-access-vpn 3.4-3

Git Clone URL: https://aur.archlinux.org/private-internet-access-vpn.git (read-only, click to copy)
Package Base: private-internet-access-vpn
Description: Installs VPN profiles for Private Internet Access Service
Upstream URL: https://www.privateinternetaccess.com/
Keywords: connman networkmanager openvpn python vpn
Licenses: GPL
Conflicts: xawtv
Submitter: flamusdiu
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 86
Popularity: 0.000008
First Submitted: 2014-08-14 01:22 (UTC)
Last Updated: 2024-04-14 17:12 (UTC)

Pinned Comments

Auerhuhn commented on 2023-10-27 08:23 (UTC) (edited on 2023-10-27 08:23 (UTC) by Auerhuhn)

Note that this package provides only VPN profiles but not the vendor’s software.

The package version refers to the python-pia tool by @flamusdiu, which may lag behind the vendor’s own VPN software version.

Please do not flag this package out-of-date unless @flamusdiu releases a new stable python-pia version.

Thank you!

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 48 Next › Last »

flamusdiu commented on 2017-02-20 22:44 (UTC)

@flinch: what command did you do for the install?

finch commented on 2017-02-20 20:15 (UTC)

Hello! New arch install, running openbox with NetworkManager. When I try to install this particular package, I wind up with this error: ==> Starting package()... Traceback (most recent call last): File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 964, in send self.connect() File "/usr/lib/python3.6/http/client.py", line 1392, in connect super().connect() File "/usr/lib/python3.6/http/client.py", line 936, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.6/socket.py", line 704, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.6/socket.py", line 743, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "setup.py", line 21, in <module> ez_setup.use_setuptools() File "/home/finch/Downloads/GitClones/AUR/private-internet-access-vpn/src/python-pia/ez_setup.py", line 160, in use_setuptools version = _resolve_version(version) File "/home/finch/Downloads/GitClones/AUR/private-internet-access-vpn/src/python-pia/ez_setup.py", line 368, in _resolve_version resp = urlopen(meta_url) File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/usr/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib/python3.6/urllib/request.py", line 1361, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib/python3.6/urllib/request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -2] Name or service not known> ==> ERROR: A failure occurred in package(). Aborting... I've triple checked dependencies and have also installed python-pia.git just in case. That didn't seem to make a difference either way. I haven't been able to find much relevant info on this particular issue, either on the internet at large or the wiki related to this package. I have previously (about 6-8 months ago) installed this with no issues on 2 other machines with similar configurations. Any help would be appreciated.

Cavsfan commented on 2017-02-16 20:01 (UTC)

@flamusdiu, I will keep that in mind. Thanks for your help and thanks for taking the time maintaining this package! Good work! :-)

flamusdiu commented on 2017-02-16 18:47 (UTC)

It's good you got it worked out. Just a note: '/etc/opnevpn/pia.conf' doesn't do anything. 'pia.conf' lives in '/etc/private-internet-access/' folder.

Cavsfan commented on 2017-02-16 17:17 (UTC)

That fixed it. Thank you. I had to change it to 1197 from UDP/1197 in both /etc/openvpn/pia.conf and /etc/private-internet-access/pia.conf? I changed it in /etc/openvpn/pia.conf, rebooted and it still didn't work. Then I changed it in the /etc/private-internet-access/pia.conf file and it worked without rebooting.

flamusdiu commented on 2017-02-16 11:18 (UTC)

@Cavsfan: Use "1197" instead of "UDP/1197". Each port can only be paired with each protocol so I removed the option for setting the protocol that way. See: https://helpdesk.privateinternetaccess.com/hc/en-us/articles/225274288-Which-encryption-auth-settings-should-I-use-for-ports-on-your-gateways- @newbOnArch: You shouldn't leak but depending on certain things, you could. See https://wiki.archlinux.org/index.php/Private_Internet_Access_VPN#Troubleshooting and https://github.com/flamusdiu/python-pia/issues/13.

newbOnArch commented on 2017-02-16 02:36 (UTC) (edited on 2017-02-16 02:38 (UTC) by newbOnArch)

@flamusdiu I had everything uninstalled for couple days and manually deleted any files that were left on my computer. I reinstalled everything on computer right now and did the same things now it works and the all the vpn connections are in '/etc/NetworkManager/system-connections,' but thanks for your helps. I was wondering if you guys had the script to prevent dns and ipv6 leaking in the vpn files. I remember seeing it somewhere either inside openvpn or somewhere else.

Cavsfan commented on 2017-02-15 18:42 (UTC)

Just updated and got this: $ sudo pia -a Traceback (most recent call last): File "/usr/bin/pia", line 11, in <module> load_entry_point('pia==3.3.1', 'console_scripts', 'pia')() File "/usr/lib/python3.6/site-packages/pia/command_line.py", line 23, in main pia.run.run() File "/usr/lib/python3.6/site-packages/pia/run.py", line 53, in run properties.parse_conf_file() 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'

flamusdiu commented on 2017-02-15 11:09 (UTC)

@newOnArch: OpenVPN and NetworkManager store configurations in different places. OpenVPN's configurations are in '/etc/openvpn/client' while NetworkManager is in '/etc/NetworkManager/system-connections'. Did you create a '/etc/private-internet-access/pia.conf'? If so, can you post it here. NetworkManager is strange sometimes on how it views connections. Though, as noted here (https://github.com/flamusdiu/python-pia/issues/24) it works with NetworkManager even with the 2.4 update to OpenVPN.