Ubuntu client OpenVPN3 basic install

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
jjjames
OpenVpn Newbie
Posts: 9
Joined: Sun Oct 23, 2016 12:02 pm

Ubuntu client OpenVPN3 basic install

Post by jjjames » Sat Nov 05, 2022 10:40 pm

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!

User avatar
ordex
OpenVPN Inc.
Posts: 417
Joined: Wed Dec 28, 2016 2:32 am
Location: IRC #openvpn-devel @ libera.chat

Re: Ubuntu client OpenVPN3 basic install

Post by ordex » Sun Nov 06, 2022 8:43 am

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.

jjjames
OpenVpn Newbie
Posts: 9
Joined: Sun Oct 23, 2016 12:02 pm

Re: Ubuntu client OpenVPN3 basic install

Post by jjjames » Thu Nov 17, 2022 12:01 pm

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"

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1038
Joined: Tue Feb 16, 2021 10:41 am

Re: Ubuntu client OpenVPN3 basic install

Post by openvpn_inc » Sat Nov 19, 2022 10:07 am

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

jjjames
OpenVpn Newbie
Posts: 9
Joined: Sun Oct 23, 2016 12:02 pm

Re: Ubuntu client OpenVPN3 basic install

Post by jjjames » Sun Nov 20, 2022 12:01 pm

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.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1038
Joined: Tue Feb 16, 2021 10:41 am

Re: Ubuntu client OpenVPN3 basic install

Post by openvpn_inc » Sun Nov 20, 2022 3:48 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply