Problem Setting Up PIA VPN (- but nordVPN works fine)
I have no problem configuring NordVPN in Slackware, but I just can't figure it out with PIA.
I get an error message that "The file “CA Toronto.ovpn” could not be read or does not contain recognized VPN connection information. Error: the plugin does not support import capability" These openvpn files from PIA are not the same as nord's openvpn files, and I can't get it to work. The files are called: crl.rsa.2048.pem ca.rsa.2048.crt CA Toronto.ovpn Can someone step through how I add this connection? |
Do you use openvpn from terminal or NetworkManager-openvpn?
I know that NetworkManager-openvpn sometimes doesn't work even if everything is set up as it should, i then remove the password and leave it blank and let the connection ask for password and save that password. I don't know why but that often makes an vpn connetion work in networkmanager. Have you tested the .ovpn with openvpn command? |
I started over, and downloaded the openvpn files into /etc/openvpn, and did the extraction thing. Had to edit some file names to take out spaces.
This time I tried adding an Openvpn connection, instead of the "saved VPN configuration", which is how the other VPN works. Now I have a VPN connection, but it times out without connecting. I'm sure there's a thread(s) on here that talks about this, but I can't find it - any ideas? |
I use PIA and what I do is
1) install NetworkManager-OpenVPN from slackbuilds 2) extract the ovpn files to /etc/NetworkManager/PIA 3) use NetworkManger to add a connection 4) choose "import a saved VPN Configuration" 5) choose a file from "/etc/Networkmanager/PIA" 6) Enter my username/password 7) under "Advanced" I click "Use custom gateway port" and change it to 1198 8) That's it! I think AlienBOB has a write up on how to do all this on his blog. |
Quote:
|
BigTig: the files I got from PIA absolutely DO NOT WORK as a "saved VPN Configuration"
Where did you get the ones you have that work? PIA is giving me these files: Quote:
Also, I can't figure out what I would use to create an Openvpn connection, like the box wants me to. Got any more ideas? |
I downloaded a zip file called openvpn.zip from PIA (https://www.privateinternetaccess.co...pn/openvpn.zip)
Do you have NetworkManager-openvpn installed from slackbuilds? The easiest thing would be to use nm-applet: Right click on applet, click edit connections, press the "+" sign, "Import a saved VPN Connection"NetworkManager-openvpn HTH! |
Once I get home from work, I can document my openvpn usage with PIA. I don't use NetworkManager, but for those that do, BigTig's recommendation of NetworkManager-openvpn would be the easiest route to go.
|
My /etc/openvpn/openvpn.conf contains the following:
Code:
client |
Been awhile since I used PIA; dropped them after routing issues occurred a year or so ago and my subscription was up. The script (it was never finalized) should set it up completely.
VPN is started with similar format function: /usr/sbin/openvpn --daemon --config /etc/openvpn/PIA/piavpn.ovpn Code:
#!/bin/bash# This script will install/configure the necessary OpenVPN configuration |
All times are GMT -5. The time now is 08:11 AM. |