OpenVPN broke due to ncp-disable
-
I just installed the latest build (2.7.0.a.20230322.0600) and it broke OpenVPN. After looking at the logs the issue was with the ncp-disable command which is no longer supported in OpenVPN:
Options error: Unrecognized option or missing or extra parameter(s) in /var/etc/openvpn/server1/config.ovpn:37: ncp-disable (2.6.0)
Removing references to ncp-disable / enable in config.xml, config.ovpn and removing the config.cache (which rebuilt on reboot) resolved the issue. The service now starts and clients can connect.
-
Can you open a redmine issue for that?
https://redmine.pfsense.org/projects/pfsense/issues
Now that 2.7.0 snapshots have OpenVPN 2.6.0 there are likely several changes we need to make, some of which we already have on Plus because that's been on OpenVPN 2.6.0 for a while now.
-
I looked things over and it does appear to just be NCP that needs taken out.
I created https://redmine.pfsense.org/issues/14201 to take care of that.