Page 1 of 1

Ubuntu client OpenVPN3 basic install

Posted: Sat Nov 05, 2022 10:40 pm
by jjjames
Hi all
Need some ideas on this one.

I am following this guide
https://community.openvpn.net/openvpn/w ... nVPN3Linux

This command always fails
# curl -fsSL https://swupdate.openvpn.net/repos/open ... kg-key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/openvpn-repo-pkg-keyring.gpg

With 'bash permission denied' (I'm sudo'ing the command anyway) followed by 'curl error writing body'

I'm reluctant to switch on root unless i have to ... and run everything as root... but is that the only option here?
thanks in advance for any pointers!

Re: Ubuntu client OpenVPN3 basic install

Posted: Sun Nov 06, 2022 8:43 am
by ordex
Well, you can put the entire command in a script and then execute the script with sudo.
The problem in your command line is that the first command is probably executed as root, but the second one and the redirection are not.
So you get permission denied.

I am not sure what's the difference with sudo and executing the single command with root though.

Re: Ubuntu client OpenVPN3 basic install

Posted: Thu Nov 17, 2022 12:01 pm
by jjjames
Thanks ... I did as you suggested, lobbed it into a script and it looks like it ran correctly this time.

Now all I have to do is figure out how to run it... it says "the openvpn3-autoload.service is a disabled or static unit, not starting it"

Re: Ubuntu client OpenVPN3 basic install

Posted: Sat Nov 19, 2022 10:07 am
by openvpn_inc
Hi,

Newer versions of openvpn3 do not use autoload service anymore, can you share your openvpn3 version?
Also, would recommend opening a ticket at https://openvpn.net/support/ instead.

Regards,
.\kionci

Re: Ubuntu client OpenVPN3 basic install

Posted: Sun Nov 20, 2022 12:01 pm
by jjjames
I'm using whatever is the very latest version of your VPN client downloaded from the OpenVPN site.

I decided to use a different client provided by the VPN provider instead, as the OpenVPN Linux offering doesn't include any GUI for easy management, whereas the windows version does have a great GUI that works well. I thought that the dev team at OpenVPN would build it so it was multi platform, but I guess the demand for people running Linux desktops is pretty small.

Re: Ubuntu client OpenVPN3 basic install

Posted: Sun Nov 20, 2022 3:48 pm
by openvpn_inc
Hello jjjames,

It is multi-platform. OpenVPN Connect works on Windows, macOS, Android, and iOS. And the company provides full support for that.

And for Linux, you can use OpenVPN2 or OpenVPN3 for Linux community versions. These are open source community provided programs. We do our best to help people there, but can't guarantee anything. Unfortunately we can't know which version you're using without you telling us. But what we can tell you now is that OpenVPN3 Linux client has changed the use of autoload.

Kind regards,
Johan