On 10/23/2018 11:52 AM, alexander.ibrahi...@gmail.com wrote:
Den tisdag 23 oktober 2018 kl. 17:25:11 UTC+2 skrev unman:
On Tue, Oct 23, 2018 at 08:08:50AM -0700, alexander.ibrahi...@gmail.com wrote:
Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:
On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com wrote:
Hello,

I am trying to follow this guide:

https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/

But I am not using mullvad, I am using Nordvpn. But I've been told this guide 
should be compatible.

I am on the secound part of stage 3:

-

Start your VPN-Proxy-VM and run:

sudo mkdir /rw/config/vpn

Move your .ovpn file into this folder by typing:

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

-

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
work. I get this error:

mv: cannot stat 'openvpn-client.ovpn': No such file or directory

If I have understood this right it should automatically find this file in my 
/home/user/Downloads folder. My Nordvpn config file was named something 
different, but I renamed it correcly to ''openvpn-client.ovpn''.

I am lost, I don't know how to solve this.


Whatever route you decide to take, the problem you have here is that the
instructions aren't clear, and 'mv' doesn't work as you think it does.

Your target file is in /home/user/Downloads, but you are in /home/user.
'mv' expects you to specify a file to move. If you don't give an absolute
path then it works relative to where you are.
So your command is looking for a file in /home/user, but the file is
in /home/user/Downloads. That's why it says "No such file".
'mv' will not look about and "find the file" - you need to tell it where the 
file is.


If I understood you correcly if I would want to type such a command, I would 
need to type...

mv /home/user/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

Would I need to type anything between the two different dirs?


That's exactly right.
You can use a relative path also - if you are in /home/user then :
mv Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
will work.

Also ~ is a shortcut for your home directory.

mv ~/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

. means "the directory Im  in"
.. means the directory up

Thanks Unman for your followups, but I'm still getting some errors.

Also thanks for the ~ explanation, I didn't understand that until now.

I am following Chris guide: https://github.com/tasket/Qubes-vpn-support/

But I am stuck at secound stage: sudo unzip ~/ovpn-configs-example.zip

First of all, my config file from Nordvpn is a .ovpn file (text document), but 
I do have a installation .deb file (nordvpn-release_1.0.0_all.deb) which has a 
package icon like an zip file. Both these files are in my ~/Downloads directory.

When I type:

sudo unzip ~/Downloads/nordvpn-release_1.0.0_all.deb

... it says this:

unzip: cannot find or open /home/user/Downloads/nordvpn-release_1.0.0_all.deb, 
/home/user/Downloads/nordvpn-release_1.0.0_all.deb.zip or 
/home/user/Downloads/nordvpn-release_1.0.0_all.deb.ZIP.

The "deb" indicates it is a custom program written by NordVPN. You should probably avoid this since NordVPN probably doesn't adjust their code for Qubes networking (there will be DNS and security problems). The Qubes-vpn-support page links to a NordVPN page that contains only the openvpn configs in zip form, which is what you want.

Also, this step cannot be taken verbatim, since different VPN providers will have differently-named files. This requires enough familiarity with the Linux shell to be able to interpret what the exact unzip or copy commands should be. The gist of this step is that you should obtain ovpn configs from your provider, put them in /rw/config/vpn, and make sure one of them appears there as "vpn-client.conf" which is what the "ln" link command is for (but you can use "cp" instead of "ln" if you wish).

I'd also advise you not to try performing more than one solution at the same time as this only causes confusion.

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/affa2dd4-8f51-023a-f9f4-794da0604546%40posteo.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to