Windows 10 machine was beyond easy. Pasted the URL (IPv4 minus the "admin). And downloaded the desktop app which in turn pulled down a connection profile.
Ubuntu 20, cloud VM: I followed the instructions to install OpenVPN3 https://community.openvpn.net/openvpn/w ... nVPN3Linux and all seems good.
I tried to download the config file by doing this: https://github.com/OpenVPN/openvpn3-lin ... 3-as.1.rst. I received the following return:
[oconf=]sudo openvpn3-as https://Hidden/
OpenVPN Access Server Username: UserName
OpenVPN Access Server Password: **********
Traceback (most recent call last):
File "/usr/bin/openvpn3-as", line 231, in <module>
cfgobj = cfgmgr.Import(profile_name, profile, False, not opts.impersistent)
File "/usr/lib/python3/dist-packages/openvpn3/ConfigManager.py", line 248, in Import
self.__ping()
File "/usr/lib/python3/dist-packages/openvpn3/ConfigManager.py", line 326, in __ping
raise RuntimeError("Could not establish contact with the Configuration Manager")
RuntimeError: Could not establish contact with the Configuration Manager[/oconf]
I confirmed the credentials I was using are good by logging into the admin portal with them. I tried again adding and removing "admin" from the URL & and I also tried with the same user account I used when installing the client on the Win10 pc.
I've spent a couple of hours just reading.. learned a BUNCH of stuff... but nothing that jumped out at me concerning why I can't download the needed connection profile. I am going to get on the VPN server and try to copy/push the file but I'd really rather not have to go through all the manual Key config and profile config. I THOUGHT this whole setup would take 15 minutes. That was hours ago.
Runtime Error - Simple setup (or so I thought)
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue May 18, 2021 9:24 am
-
- OpenVPN Power User
- Posts: 156
- Joined: Thu Mar 28, 2013 8:31 am
Re: Runtime Error - Simple setup (or so I thought)
With a web browser, login into the OpenVPN AS *user* portal instead of the admin portal.
Then instead of downloading one of the clients, scroll down to find:
"Yourself (user-locked profile)"
If it doesn't show, then log back into the admin portal and make sure under CWS Settings that user-locked profile is set to "Show"
Then download that instead and use it as the configuration file for the "openvpn2" front-end.
If you continue to have problems with the openvpn3-linux project, I would recommend instead installing the OpenVPN v2 dpkg as packaged by Debian/Ubuntu and using that instead.
You may also want to consider opening an issue on the project's github page for further help.
Then instead of downloading one of the clients, scroll down to find:
"Yourself (user-locked profile)"
If it doesn't show, then log back into the admin portal and make sure under CWS Settings that user-locked profile is set to "Show"
Then download that instead and use it as the configuration file for the "openvpn2" front-end.
If you continue to have problems with the openvpn3-linux project, I would recommend instead installing the OpenVPN v2 dpkg as packaged by Debian/Ubuntu and using that instead.
You may also want to consider opening an issue on the project's github page for further help.