OpenVPN instances start error

Hi,
OpenVPN instance does not start :confused:
Log indicates the following error :
Jun 2 12:46:56 2021 daemon.err openvpn(NZ)[11177]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/NZ.ovpn:6: data-ciphers (2.4.11)

/etc/openvpn/NZ.ovpn
dev tun
persist-tun
persist-key
cipher AES-128-CBC
data-ciphers AES-128-GCM
auth SHA256
resolv-retry infinite
proto udp
port 1199
remote 202.37.129.241
ifconfig 10.1.99.2 10.1.99.1
route 10.1.0.0 255.255.0.0
keepalive 10 60
compress lz4-v2
fragment 1300

2048 bit OpenVPN static key

-----BEGIN OpenVPN Static key V1---
I removed the key in this post
-----END OpenVPN Static key V1-----

/etc/openvpn/NZ.auth
USER
PASSWORD

Note: This configuration file is working on a different router.

Any hints would greatly be appreciated.

Check which version of openvpn you are running. Most likely that version doesn't support the data-ciphers option. You can try to just remove it.

2 Likes

Thank...that was helpful.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.