I was going to say that it still seems to work but the errors are misleading.
Should I stay with the dev version or go with the non-dev version.
Thanks flamusdiu!
Search Criteria
Package Details: private-internet-access-vpn 3.4-3
Package Actions
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) |
Dependencies (10)
- openvpn (openvpn-gitAUR, openvpn-mbedtlsAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-docopt
- python-setuptools
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- connman (connman-gitAUR, connman-systemd-resolvedAUR) (optional) – Enables PIA for Connman
- networkmanager (networkmanager-gitAUR, networkmanager-iwdAUR) (optional) – Enables PIA for Network Manager (needs a openvpn plugin)
Required by (0)
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 48 Next › Last »
Cavsfan commented on 2016-09-29 15:25 (UTC)
flamusdiu commented on 2016-09-29 15:16 (UTC)
Okay, thanks for letting me know. Let me see about that one. I probably screwed it up somehow. =\
Cavsfan commented on 2016-09-29 15:10 (UTC)
I was going to build them one at a time, but the 1st that errored before still errors now:
$ sudo pia -a CA_North_York
Traceback (most recent call last):
File "/usr/bin/pia", line 11, in <module>
load_entry_point('pia==3.1b0', 'console_scripts', 'pia')()
File "/usr/lib/python3.5/site-packages/pia/command_line.py", line 23, in main
pia.run.run()
File "/usr/lib/python3.5/site-packages/pia/run.py", line 55, in run
[globals()[k]() for k, v in props.commandline.__dict__.items() if
File "/usr/lib/python3.5/site-packages/pia/run.py", line 56, in <listcomp>
not k == 'hosts' and getattr(props.commandline, k, None)]
File "/usr/lib/python3.5/site-packages/pia/run.py", line 104, in auto_configure
app.config(config)
File "/usr/lib/python3.5/site-packages/pia/applications/appstrategy.py", line 86, in config
self.app.config(config_id)
File "/usr/lib/python3.5/site-packages/pia/applications/hooks.py", line 161, in config
"##remote##": ApplicationStrategyOPENVPN.get_remote_address(config_id),
File "/usr/lib/python3.5/site-packages/pia/applications/hooks.py", line 74, in get_remote_address
return [h.fqdn for h in properties.props.default_hosts_list if h.name == re.sub('_', ' ', config_id)][0]
IndexError: list index out of range
Cavsfan commented on 2016-09-29 14:40 (UTC)
@flamusdiu
I just tried sudo openvpn --config /etc/openvpn/AU_Melbourne.conf
and it worked. Wonder why it won't work with all the locations.
Cavsfan commented on 2016-09-29 14:30 (UTC)
pia -a does not work for all of the location provided by pia:
sudo pia -a AU_Melbourne AU_Sydney Brazil CA_North_York CA_Toronto Denmark Finland France Germany Hong_Kong India Ireland Israel Italy Japan Mexico Netherlands New_Zealand Norway Romania Singapore Sweden Switzerland Turkey UK_London UK_Southampton US_California US_East US_Florida US_Midwest US_New_York_City US_Seattle US_Silicon_Valley US_Texas US_West
I tried dropping one by one and when I added the first 4 - pia -a AU_Melbourne AU_Sydney Brazil CA_North_York
It got this error (same as when I add more):
Traceback (most recent call last):
File "/usr/bin/pia", line 11, in <module>
load_entry_point('pia==3.1b0', 'console_scripts', 'pia')()
File "/usr/lib/python3.5/site-packages/pia/command_line.py", line 23, in main
pia.run.run()
File "/usr/lib/python3.5/site-packages/pia/run.py", line 55, in run
[globals()[k]() for k, v in props.commandline.__dict__.items() if
File "/usr/lib/python3.5/site-packages/pia/run.py", line 56, in <listcomp>
not k == 'hosts' and getattr(props.commandline, k, None)]
File "/usr/lib/python3.5/site-packages/pia/run.py", line 104, in auto_configure
app.config(config)
File "/usr/lib/python3.5/site-packages/pia/applications/appstrategy.py", line 86, in config
self.app.config(config_id)
File "/usr/lib/python3.5/site-packages/pia/applications/hooks.py", line 161, in config
"##remote##": ApplicationStrategyOPENVPN.get_remote_address(config_id),
File "/usr/lib/python3.5/site-packages/pia/applications/hooks.py", line 74, in get_remote_address
return [h.fqdn for h in properties.props.default_hosts_list if h.name == re.sub('_', ' ', config_id)][0]
When I dropped of the 4th one and went with 3, it did not error - sudo pia -a AU_Melbourne AU_Sydney Brazil
I did not create the conf files with pia -a I used before but and am now and cannot get it to work.
flamusdiu commented on 2016-09-29 14:22 (UTC)
For /etc/openvpn/US_California.conf:
client
dev tun
proto udp
remote us-california.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass /etc/private-internet-access/login.conf
comp-lzo
verb 1
reneg-sec 0
crl-verify /etc/openvpn/crl.rsa.2048.pem
ca /etc/openvpn/ca.rsa.2048.crt
Should look like that. When you run 'pia -a' with 'openvpn_auto_login' set to true, then it should auto configure the 'auth-user-pass' for you. The crl-verify and ca should be setup when it installs.
disable-occ
flamusdiu commented on 2016-09-29 00:30 (UTC)
If it's asking for the user name, then you didn't either 1) run pia -a or 2) on the auth-pass line of the config, you need to put the full path to your login creds. The cache password warning is because the default configs on the PIA website do not have the no cache option in it.
Cavsfan commented on 2016-09-28 22:21 (UTC)
@flamusdiu
Tried adding full path to both crt and pem and it then asked for my uid and password.
I had the 2048 and 2096 files but once I entered the uid and password. It could not connect to anything.
It gave a msg that it could be caching my password and to use an option so it would not be cached, but I know it's supposed to read the uid and password from /etc/private-internet-access/login.conf.
I am using the dev version (private-internet-access-vpn-dev 3.1b-1) if that matters.
toppy commented on 2016-09-28 22:02 (UTC)
@flamusdiu
Just updated and unable to connect to PIA
Checked the .conf files ... full path to crt and pem is there but they are listed as ...2096.crt (.pem) .. whoops ! :-)
Should be 2048 or 4096
Thanks flamusidiu
flamusdiu commented on 2016-09-28 19:44 (UTC)
For the CA certs, you need the full path in the config files.
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!