OpenVPN Temporary Config Problem

I use two options in my OpenVPN Server Config (in /etc/config/openvpn):
option script-security 2
option auth-user-pass-verify /etc/openvpn/ovpnauth.sh via-file

These two options are not transferred to the temporary used config in /var/etc/openvpn-myvpn.conf if i reboot the system and therefore i cannot use them until i add them by myself to this file and restart the OpenVPN Process,

Can somebody help me out here? First i tried the Options without the "option" keyword, which already does not work.

Should be:
option script_security '2'
option auth_user_pass_verify '/etc/openvpn/ovpnauth.sh via-file'
In config use '_' instead '-' between words in option name.

1 Like

Great it works fine! :grinning: