Hi guys, I'm having a problem configuring OpenVPN using luci as some settings are hidden when going over to advanced configuration then to VPN section. Settings are displayed for a sec and then goes hidden. Apparently this bug is already fixed in luci but it's not included in lede. Is there a way to do it manually?
Can't you SSH into the device and edit the config files manually?
Of course, I can. I can also configure whole router from ssh, but this doesn't resolve Luci's problem displaying the page due to a problem that is already solved. I would like to see if there is a way to manually fix luci before it's included in some future builds.
According to the bug report, the fix is here:
https://github.com/openwrt/luci/pull/1123/commits/f45d8767a6602dae1d0f44b00f873fc3b736eb05
If I am not mistaken, only a text file has been changed, so I guess you could edit that file in your router.
Ok, understood. So, for all the others, what I did was:
- downloaded fixed file from here: openvpn-advanced.lua
- renamed old file located here: /usr/lib/lua/luci/model/cbi
- pasted downloaded file from step 1 (be careful about extension .lua)
First test looks ok.