Very confused setting up a vpn

114 views
Skip to first unread message

Mishima

unread,
Apr 24, 2019, 3:11:05 PM4/24/19
to qubes-users
Hello,
I'm running qubes 4.0.1
Ok, so I'm doing the guide using the qubes-tunnel service and i am at this step where I have to copy the opevpn client's config files to ProxyVM's created folder named qtunnel, which i cant find anywhere.
I did sudo mkdir /rw/config/qtunnel in proxyvm's terminal.
Now i am supposed to get the client's config files from the template and get them into there. How do i do that??
The guide is saying that i should first install the client's package in the template before proceeding? How do I install this? I just unzipped them there, it's a folder with the clien't openvp files. And how do I copy them from the templateVM to the proxyvm's specified folder? And where this folder is anyway? Also, should i just copy ALL of them or just the one that i want to use??
I am supposed to do as saying

cd /rw/config/qtunnel
sudo unzip ~/ovpn-configs-example.zip
sudo ln -s US_East.ovpn qtunnel.conf

He is just unzipping them directly into there, but i can't do that either. Was the proxyvm supposed to be communication with its templatevm? Have i done something setting this up? Sorry if i'm asking something very basic, I'm not experienced on this, nor too much with terminals in general, the setup looks very complicated.
Appreciate any help.

Chris Laprise

unread,
Apr 24, 2019, 11:54:00 PM4/24/19
to qubes...@googlegroups.com, Mishima
Hi,

You may find the Qubes-vpn-support directions easier to follow;
qubes-tunnel was created as a way for Qubes to pull Qubes-vpn-support
features into their project but that has been on hold. The directions
for qubes-tunnel are a draft aimed at testers.

Qubes-vpn-support also lets you skip installation into a template and
install directly into the ProxyVM.

https://github.com/tasket/Qubes-vpn-support/

These instructions show you where to place the config files from your
VPN provider (step 2).

Its your decision whether to copy all or just one config. But its easier
to copy all because there are usually other non-ovpn files which are
non-optional so copying all doesn't run the risk of damaging the configs.

--

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

Mishima

unread,
Apr 25, 2019, 5:01:10 AM4/25/19
to qubes-users
Ok thank you, so I managed to set it up this time, however upon restarting the ProxyVM I don't get a pop up saying LINK IS UP but a pop us saying "Ready to start link". And I have no internet access on the vm.
What went wrong this time? How can I link this right?

I already did in earlier step sudo ln -s example.ovpn vpn-client.conf

Chris Laprise

unread,
Apr 25, 2019, 1:41:13 PM4/25/19
to Mishima, qubes-users
The config you downloaded from your VPN provider is "example.ovpn"? That
sounds a little odd.

You should view the log with 'sudo journalctl -u qubes-vpn-handler' to
see what failed. When it says Ready but there is no connection, its
usually because of a mis-typed username or password. You can check this
in the /rw/config/vpn/userpassword.txt file.

Jon deps

unread,
Apr 26, 2019, 10:32:12 PM4/26/19
to qubes...@googlegroups.com
I would start over in a fresh AppVM, and click provides network in
when making the AppVM

Make sure openvpn is installed , in debian-9 you have to add it

make sure you put the config files in

/rw/config/vpn


run the script and should pop open request for a password


which VPN provider are you using ?

Mishima

unread,
Apr 29, 2019, 7:35:37 AM4/29/19
to qubes-users

There must be a bug after the installation. I enter username as I am asked, then I can't enter my password. Characters do not appear, nothing happens. And then when I restart the proxyVM i get the message "Ready to start Link" and no internet

Chris Laprise

unread,
Apr 29, 2019, 2:30:24 PM4/29/19
to Mishima, qubes-users
On 4/29/19 7:35 AM, Mishima wrote:
>
>
> There must be a bug after the installation. I enter username as I am asked, then I can't enter my password. Characters do not appear, nothing happens. And then when I restart the proxyVM i get the message "Ready to start Link" and no internet
>

No characters should appear on the password line. You can check it
manually by looking in the userpassword.txt file as I mentioned.

Also, it will be necessary to look at the log as I described to find out
what is causing the problem.
Reply all
Reply to author
Forward
0 new messages