How to allow Home Assistant IP to communicate to the blocked Unifi Gateway

Help, please

I am a newbie here, and I did not create the firewall rules I pictured. I followed a YouTube video for beginners on what to enter to protect my vLans. It works, and I cannot ping the Unifi 192.168.1.1 gateways from any other VLAN, which is my main LAN. The rules also do not allow me to ping any other VLAN gateway or HTTP to it when on another VLAN.

I am a Home Assistant user. I need to create a Home Assistant automation that sees my cell phone in Unifi. I cannot add the Unifi Home Assistant automation because Home Assistant cannot see the blocked gateway. Since I do not understand these rules I cannot write a rule that works. If I pause these firewall rules: Block IoT to Gateway and Drop IoT to All Gateways. Yes, I can add the Unifi Home Assistant integration. This opens up too much, and not sure what I have done by doing that.

How do I write a rule for my Home Assistant IP 192.168.20.2 on IoT vlan to talk to the current blocked by rules gateway 192.168.1.1 on my default main vlan? This IP device only, if possible, so I can add the Home Assistant integration.


This networking ‘issue’ should be Googled to figure it out. This is not an HA issue.