I would like to disable connecting to the webUI (be it (re)Foris or LuCi) via HTTP(S) and only be able to do it via an SSH tunnel.
I’ve managed to successfully connect via the SSH tunnel using this guide.
The guide furthermore talks about disabling uhttpd, but:
Instead of uhttpd, TOS seems to have lighttpd
I don’t want to disable the HTTP server, I only want it to listen on my Omnia’s localhost.
I checked around in /etc/lighttpd/ but it seems like many of its configs are automatically generated? If so, what is the best method of achieving this?
or you might use firewall to block it only from outside (and keep direct access from LAN). But anyway, you could use a strong generated password in a password manager.
The configuration remains the same even after any updates, unless the update changes the web server or other low-level parts inherent to the web interface, but I don’t think this is the case.