I'm running the latest snapshot for 23.05 and OpenVPN server will not start. It keeps generating an error message "Options error: --ipchange cannot be used with --mode server (use --client-connect instead)"
I thought it might be my settings but even the default settings don't work.
Is anyone else having a similar issues? Can this be fixed?
Thank you @klipz
Commenting out the line seems to have helped. However, I'm now getting a different error
Sat May 27 10:50:20 2023 daemon.warn openvpn(MyOpenVPN): WARNING: External program may not be called unless '--script-security 2' or higher is enabled. See --help text or man page for detailed info.
Sat May 27 10:50:20 2023 daemon.err openvpn(MyOpenVPN): WARNING: Failed running command (--up/--down): disallowed by script-security setting
Sat May 27 10:50:20 2023 daemon.notice openvpn(MyOpenVPN): Exiting due to fatal error
I set script_security to 0 and to 'remove' in the Luci UCI to no avail.
This directive offers policy-level control over OpenVPN's usage of external programs and scripts.
Lower level values are more restrictive, higher values are more permissive. Settings for level:
Strictly no calling of external programs.
(Default) Only call built-in executables such as ifconfig, ip, route, or netsh.
Allow calling of built-in executables and user-defined scripts.
Allow passwords to be passed to scripts via environmental variables (potentially unsafe). ```