If you are using the “open Web UI” button within the Addon then you do not need any port forwarding. Home Assistant is taking care of that for you.
That feature is called ingress. Introducing Hass.io Ingress - Home Assistant
In general, you shouldn’t need any port forwarding for node red when you just want to reach it within your local network if you haven’t done anything to wall off your access. But then you would probably know what you did.
Officially, Ubuntu is not supported for Home Assistant Supervised. But I have it running in the same configuration.
As for the Firewall, according to the documentation the ports are specified in the config.json:
Ingress#
Ingress allows users to access the add-on web interface via the Home Assistant UI. Authentication is handled by Home Assistant, so neither the user nor the add-on developer will need to care about the security or port forwarding. Users love this feature! It connects your user directly to the add-on, can provide a seamless UX within Home Assistant and grants your add-on 2 points of security.
Here are the requirements of Ingress:
Ingress must be enabled. Set ingress: true in config.json.
Your server may run on port 8099. If it does not run on 8099, you must set ingress_port: PORT_NUMBER in config.json to match your configuration.
Only connections from 172.30.32.2 must be allowed. You should deny access to all other IP addresses within your add-on server.
Users are previously authenticated via Home Assistant. Authentication is not required.
I was in your situation and it was maddening. I ditched Ubuntu and switched to a Proxmox VE running a supported version of HA and all of my problems went away. Might consider it.
Strange you should mention this. I have been looking into this today. I run plex, roon and Home assistant from my server and been looking at starting a windows VM.
I’m feeling kind of done with docker and learning it so it seems proxmox is the route to go
I took advantage of the bank holiday weekend to install Proxmox and I couldn’t be happier. it’s so simple and makes for a great way to manage ubuntu and windows separately from Home assistant. also I found this link which made the install super easy: