Need Help Setting Up OpenVPN CLIENT

I have a remote VPS server with an app dashboard that includes a one-click install of an OpenVPN server. It includes an option to download a .ovpn file and a guide to add the config to GUI clients, but I can’t figure out how to translate it to settings in Opnsense. Would someone be able to advise on how to set this up? This is the contents of my .ovpn file with the private info replaced with notes in [brackets]:

client

proto tcp-client

remote [IP Address] [port number]

dev tun

resolv-retry infinite

nobind

persist-key

persist-tun

remote-cert-tls server

verify-x509-name server_[random letters] name

auth SHA256

auth-nocache

cipher AES-128-GCM

tls-client

tls-version-min 1.2

tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256

setenv opt block-outside-dns # Prevent Windows 10 DNS leak

verb 3

<ca>

-----BEGIN CERTIFICATE-----

[a bunch of letters here]

-----END CERTIFICATE-----

</ca>

<cert>

-----BEGIN CERTIFICATE-----

[a bunch of letters here]

-----END CERTIFICATE-----

</cert>

<key>

-----BEGIN PRIVATE KEY-----

[a bunch of letters here]

-----END PRIVATE KEY-----

</key>

<tls-crypt>

-----BEGIN OpenVPN Static key V1-----

[a bunch of letters here]

-----END OpenVPN Static key V1-----

</tls-crypt>

I have no idea why in 2023 you can’t just upload the config file.

Anyway I gave up after trying to get two OpenVPN clients working. The provider’s helpdesk couldn’t work it out either. Wireguard works fine (if you use the Go version plugin)

Also check out if Tailscale will suit your use case. It’s a command line install but super simple.

Unfortunately I specifically needed to get this OpenVPN setup working. I’m already paying for PIA, but their lack of support for consistent port forwarding makes what I need impossible. I can’t really afford to pay for yet another service.

Yeah I had the same thing. PIA worked on pfSense following Lawrence Systems video. On OPNsense that and ExpressVPN also just ended up in a connect/disconnect loop. Tech support couldn’t figure it. I cancelled my subscription renewal and paid for a few months of Mullvsd