netjsonconfig icon indicating copy to clipboard operation
netjsonconfig copied to clipboard

[fix] Fix OpenVpn.auto_client method for OpenWrt 22

Open pandafy opened this issue 3 years ago • 1 comments

On OpenWrt 22, the script_security option should be set to 2 by default. We should update this method to set the default value according to OpenWrt version.

pandafy avatar Aug 03 '22 14:08 pandafy

Also the value of log should be fixed, because trying to log to /var/log/openvpn/<if>.log won't work because /var/log/openvpn/ does not exist. We could simply replace /var/log/openvpn/ with /var/log/.

nemesifier avatar Aug 10 '22 09:08 nemesifier