@flamusdiu after trying with Sweden.conf at the end I get this output,"Options error: --auth-user-pass fails with '/etc/private-internet-access/login.conf': No such file or directory
Options error: Please correct these errors" I must have set it up wrong but I followed your instruction 1, create a login.conf file 2, give it the 0600 permissions so only the root user and root group owns it 3, have only 2 lines top line for username and bottom line for password nothing else, right?
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 .. 15 16 17 18 19 20 21 22 23 24 25 .. 48 Next › Last »
Hydeh commented on 2016-10-31 16:46 (UTC) (edited on 2016-11-01 05:30 (UTC) by Hydeh)
flamusdiu commented on 2016-10-30 07:56 (UTC)
@Hydeh: make sure you choose a endpoint at then end. For example: sudo openvpn --config /etc/private-internet-access-vpn/US_East.conf
It's probably giving the error since the end point conf file. OpenVPN will create/bring up the TUN/TAP device for you.
Hydeh commented on 2016-10-29 22:13 (UTC)
@flamusdiu I tried it again and I'm gettng a different error this time, so I typed in "sudo openvpn --config /etc/private-internet-access-vpn/" and got this output "Options error: You must define TUN/TAP device (--dev)" I don't know if you may know how to set the TUN/TAP device but atleast things are progressing. I think deleting that extra PIA file helped resolve the previous error, thank you :D
flamusdiu commented on 2016-10-28 21:15 (UTC)
@Hydeh running OpenVPN just makes sure the configuration is set right. Now, this really only matters if you are using Connman since most of the OpenVPN options are set within NetworkManager's conf files (it doesn't use the OpenVPN configurations at all). Usually running the OpenVPN command provides feedback if there is an issue with this package.
Hydeh commented on 2016-10-27 16:37 (UTC)
@flamusdiu I created the login.conf file yes, I havan't run sudo openvpn --config /etc/openvpn/sweden.conf/ yet I didn't know I was suppose to run that, after typing sudo openvpn --config /etc/openvpn/sweden.conf' what do I do after that?
flamusdiu commented on 2016-10-27 15:28 (UTC)
@Hydeh,
Thanks you for posting it. It looks right. Did you create the login.conf? Does OpenVPN ask you for your username/password when running 'sudo openvpn --config /etc/openvpn/sweden.conf'?
Hydeh commented on 2016-10-26 23:54 (UTC)
@flamusdiu
client
dev tun
proto udp
remote sweden.privateinternetaccess.com 1197
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-256-cbc
auth sha256
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.4096.pem
ca /etc/openvpn/ca.rsa.4096.crt
disable-occ
auth-nocache
script-security 2
up /etc/openvpn/update-resolv-conf.sh
down /etc/openvpn/update-resolv-conf.sh
flamusdiu commented on 2016-10-26 01:11 (UTC) (edited on 2016-10-26 01:15 (UTC) by flamusdiu)
@Hydeh:Copy/Paste one from '/etc/openvpn' Umm,OTH, you shouldn't have a '/etc/PIA/private-internet-access-vpn' folder. It should be '/etc/private-internet-access'.
Hydeh commented on 2016-10-25 19:48 (UTC)
When I cd to this location "/etc/PIA/private-internet-access-vpn/" there are 2 openvpn.zip files, do I un-zip one and copy the details of them when they are un-zipped? Or do I go to "/etc/openvpn/" and copy paste one of the files from there here?
flamusdiu commented on 2016-10-25 18:55 (UTC)
@Hydeh: can you post one of the OpenVPN configs?
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!