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>