PFSense - VPN - OpenVPN - Troubleshooting - Options error - Unrecognized option or missing or extra parameter(s)

Getting error:

Options error: Unrecognized option or missing or extra parameter(s) in home.ovpn:1: homeVPN (2.4.5)
Use --help for more information.

where Config file contains:

Config File (Hid sensitive info):

homeVPN
dev tun
proto udp
remote IP_ADDRESS PORT
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
auth SHA256
compress lzo
keepalive 15 60
auth-user-pass
remote-cert-tls server
<ca>
### CA CERT HERE
</ca>
<cert>
### CERT HERE
</cert>
<key>
### KEY HERE
</key>
<tls-crypt>
### TA KEY HERE
</tls-crypt>
resolv-retry infinite
nobind

Solution

It tells you very exactly what’s wrong:

Line 1 contains home.ovpn:1: homeVPN which is not an OpenVPN option, so you need to either remove it or make it a comment.