Hi,
I'm running
OPNsense 16.1.8-amd64
FreeBSD 10.2-RELEASE-p14
OpenSSL 1.0.2g 1 Mar 2016
I try to setup an OpenVPN server. The service is not starting.
Apr 21 09:01:22 firewall openvpn[3247]: Options error: --server directive network/netmask combination is invalid
Apr 21 09:01:22 firewall openvpn[3247]: Use --help for more information.
I created a server with the wizard interface.
Sorry, wrong ip/mask. OpenVPN is working now!
Hey, where was you mistake ? Because I have same issue :(
thanks for quickly answer.
The validation was fixed in 17.1.3:
https://github.com/opnsense/changelog/blob/master/doc/17.1/17.1.3#L41
When you use a CIDR notation in OpenVPN and it expects a network, it does not accept input in the form of:
10.0.0.1/16
Because /16 marks the network and "10.0.0.1" is a host (non-zero). You need to write:
10.0.0.0/16
Cheers,
Franco