Open wiebeytec opened 2 months ago
The following would be taking it a bit wider, but how about we change the Logging to VRM setting (vrmlogger on/off) into a setting with three options. Name of the setting is VRM Portal. Options are:
The VRM two way communication setting, as well as the Remote console on VRM setting can then be removed. What we accomplish then is one setting less.
Resulting settings:
authorized_keys
in place)MQTT on LAN
is also on.services -> Node-Red
(start ssh tunnel when VRM is 'full access')services -> Signal-K
(start ssh tunnel when VRM is 'full access')services -> MQTT on LAN
: starts flashmq and opens up the firewall, as already the case.Services that are influenced:
services/mqtt on LAN
or VRM full access is on
. Bridge config is placed in when 'full access' VRM. LAN access is protected by iptables when MQTT on LAN is off. This is like this currently already.(edited by Wiebe, finishing the thought)
As discussed today, @jhofstee & @jepefe will review the idea and if they agree we go for this.
Current situation
The ssh tunnel for access to local services is started when:
The problem is that remote Node-RED and Signal K also needs this tunnel, but there is no 'Node RED on VRM' option. It currently just says in the GUI: "Access node-RED via http://venus.local:1881 and via VRM". But via VRM only works if the ssh tunnel is on, so only when 'remote support' or 'remote console on VRM' is enabled.
Desired situation
TODO
VRM logger
venus-html5-app
javascript-vnc-client
gui-v2
Others
done