UDM failing to connect to IPVanish as VPN Client - any advice?

I’ve taken one of the OVPN files from IPV (works on other systems), embedded the certificate into the file, and I keep getting an error when I try to connect. Am I missing something dumb? Can’t find any logs with more helpful errors

Error: Connection not established. Please check your credentials, configuration file and check if remote is online

Hello! Thanks for posting on r/Ubiquiti!

This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can.

Please read and understand the rules in the sidebar, as posts and comments that violate them will be removed. Please put all off topic posts in the weekly off topic thread that is stickied to the top of the subreddit.

If you see people spreading misinformation, trying to mislead others, or other inappropriate behavior, please report it!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

Solved. In case anyone is googling this in the future:

SSHing into the UDM and looking at the logs (cat /var/log/messages) shows this error:

signal-out-notifier: Sending to mcad: EVT_VPN_ClientFailed /vpn/openvpn/raws/1 unknown-remote

I’d correctly added the contents of the file ca.ipvanish.com.crt to my OVPN file, BUT, I’d not added and around it… the file should look like:

<ca>
-----BEGIN CERTIFICATE----- 
MIIE... 
-----END CERTIFICATE----- 
</ca>

Hello,

I am running into this same problem. I tried adding the input like you stated, but it still doesnt work for me.

Can you provide a write up of what you did to get this going for others that come across this?

I found out I was doing it the right way but the configuration location didn’t work. Changed location and it worked.

ut-notifier: Sending to mcad: EVT_VPN_ClientFailed /vpn/openvpn/raws/1 unknown-remote

I’d correctly added the contents of th

Thank you, this was really helpful.

Thanks heaps for this! Another thing I noticed - re-uploading the newly edited ovpn file in the settings for the existing VPN client (which was failing with the above error) didn’t seem to work. Had to delete the VPN client and start over for it to properly use the updated ovpn file.

I’d correctly added the contents of the file ca.ipvanish.com.crt to my OVPN file, BUT, I’d not added and around it… the file should look like:

Are you saying that you did not add around it or what?

I have:

<ca>
-----BEGIN CERTIFICATE-----
MIIB9    
-----END CERTIFICATE-----
</ca>

I am getting the same error;signal-out-notifier: Sending to mcad: EVT_VPN_ClientConnecting /vpn/openvpn/raws/1 unknown-remote

Pleased to hear it helped!
I ended up scrubbing and redoing mine so many times I’m not sure I knew what had actually fixed it in the end!

Sorry for the delay u/kjette - https://imgur.com/jQayJqZ this is my actual file… are you using the right certificate?