Server configuration is broken when wrong VPN network address specified
I made a mistake in reForis OpenVPN Server settings, filling the 10.98.1.1 value in the VPN network address field while keeping the VPN network mask field intact. The settings were accepted but the server did not start and the log was flooded with
May 26 21:18:59 turris openvpn(server_turris)[6363]: Options error: --server directive network/netmask combination is invalid
May 26 21:18:59 turris openvpn(server_turris)[6363]: Use --help for more information.
May 26 21:19:04 turris openvpn(server_turris)[6369]: Options error: --server directive network/netmask combination is invalid
May 26 21:19:04 turris openvpn(server_turris)[6369]: Use --help for more information.
messages.
It would be nice to have the IP range check implemented.