Firewall rule to let everything through (ESPHome/Tasmota issue)

I have a GL-MT300N-V2 (Mango) flashed with OpenWrt 22.03.5.

I want to use this for all my IOT devices that connect to HomeAssistant. These devices largely run either ESPHome or Tasmota. The Mango will have its own subnet and the Unifi USG has a Static route to direct the traffic to the Mango and it has been set to accept all traffic (as far as I can see).

This setup currently works except that the means by which the ESPHome/Tasmota devices are 'discovered' (not MQTT Discovery) doesn't work for either ESPHome or Tasmota. I suspect the firewall is blocking the relevant network traffic. I cannot find out exactly how this detection mechanism works.

  1. Is there a setting somewhere that should be set/disabled to allow this 'discovery'? mDNS, Multicast perhaps?
  2. What would a firewall rule look like to let all network traffic through?

ESPHome uses mDNS to find HA: https://esphome.io/components/mdns.html

You can try to make it work across two networks, or you can place your HA instance inside the IOT network.

1 Like

I really want it to work across networks. Any suggestions what needs to be done?

Excellent. Thanks for that pointer. I followed this tutorial and it all works. https://blog.christophersmart.com/2020/03/30/resolving-mdns-across-vlans-with-avahi-on-openwrt/

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.