User Tools

Site Tools


pfsense:vpn:openvpn:troubleshooting:options_error_-_unrecognized_option_or_missing_or_extra_parameter_s

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.

pfsense/vpn/openvpn/troubleshooting/options_error_-_unrecognized_option_or_missing_or_extra_parameter_s.txt · Last modified: 2020/11/29 22:55 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki