OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: OPNsense4ever on May 22, 2025, 08:43:12 PM

Title: mDNS Repeater + Multi WAN
Post by: OPNsense4ever on May 22, 2025, 08:43:12 PM
I'm following up on https://forum.opnsense.org/index.php?topic=27242.0 because I never got it working until now.

I have Multi WAN setup for some time now and mDNS Repeater has not been working right. Today I tried creating a rule like this:

Protocol   Source   Port   Destination   Port   Gateway   Schedule      Description
IPv4 UDP   IoT net   *   224.0.0.251   5353   *   *      Allow mDNS / Bonjour (no policy route)

Suddenly it works. This rule is above my "Default allow IoT to any rule" which uses my "multiwan" gateway.

Is this expected behavior? Is there a better way to do this? I think this may be an issue that others are experiencing.
Title: Re: mDNS Repeater + Multi WAN
Post by: Patrick M. Hausen on May 22, 2025, 09:10:41 PM
That's expected and perfectly valid.

If you have a top rule that force routes everything to one of your WAN gateways, OPNsense does exactly that, so the mDNS queries never reach any of your other VLANs.
Title: Re: mDNS Repeater + Multi WAN
Post by: OPNsense4ever on May 23, 2025, 12:57:50 AM
Fantastic! Glad I finally figured it out.

Sounds like we should add something to the HowTo?

Thanks for the confirmation!