OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: KLGsense on October 21, 2024, 03:32:11 AM

Title: [NOOB] Bonjour Services immediately crashing due to OPNsense
Post by: KLGsense on October 21, 2024, 03:32:11 AM
Hi everyone,

Very new to OPNSense. Hoping someone may be able to give some advice!

I've been troubleshooting an issue where the Bonjour Service on all computers across my network fails with the error message "Error 1067: The process terminated unexpectedly."
(https://i.ibb.co/7kH2JpY/error.png)

After extensive testing, I've narrowed down the problem to what seems to be a misconfiguration in my OPNsense router. I would appreciate any advice or suggestions.



Troubleshooting Steps Taken So Far:

Network Setup Details:





I'm suspecting that there might be a firewall or another setting within OPNsense that's preventing mDNS traffic from functioning properly. Are there specific firewall rules I need to enable for multicast DNS (UDP port 5353) or Bonjour services in general? I'm using mostly default settings and thought all internal traffic was default allow on LAN.

As a side note, I'm trying to run a software that specifically requires Bonjour which triggered this issue.


Thanks in advance for your help!

Title: Re: [NOOB] Bonjour Services immediately crashing due to OPNsense
Post by: KLGsense on October 23, 2024, 10:59:20 PM
I've discovered if I disable IPv6 on any other the computers on my network, the Bonjour service runs without issue.
(https://i.ibb.co/wWPFqjD/2024-10-23-16-55-54-Window.png)


Perhaps there is something misconfigured with IPv6 and mDNS? Still working through to identify why this is happening, but if anyone runs into a similar issue, this is a valid workaround.
Title: Re: [NOOB] Bonjour Services immediately crashing due to OPNsense
Post by: EricPerl on October 26, 2024, 09:44:18 PM
If disabling IPv6 is a workaround client side, it might explain why it worked while using other networking devices (that likely have no IPv6 support). Maybe you can replicate this by disabling IPv6 on the LAN interface of OPN.
Still a workaround...
Do you actually need Bonjour? The built-in mDNS functionality in Windows is not sufficient?
Finally, which domain is OPNsense in? There's a clear warning to avoid local.
Title: Re: [NOOB] Bonjour Services immediately crashing due to OPNsense
Post by: Patrick M. Hausen on October 26, 2024, 09:54:19 PM
Quote from: EricPerl on October 26, 2024, 09:44:18 PM
Finally, which domain is OPNsense in? There's a clear warning to avoid local.

This!
Title: Re: [NOOB] Bonjour Services immediately crashing due to OPNsense
Post by: KLGsense on October 27, 2024, 04:19:35 PM
Currently I'm using chesterland as my domain (Unless I should be checking somewhere else)

(https://i.ibb.co/rvdWJLc/2024-10-27-11-04-30-General-Settings-System-OPNsense-chesterland.png)

I unfortunately have to use Bonjour specifically for a software that requires it. I'm using Serato DJ which uses Bonjour to link/talk to SoundSwitch (Lighting software). Spoke with their support and it doesn't work outside of Bonjour after running into some headaches.

I haven't yet tested disabling IPv6 entirely in OPNsense but I could if needed.
Title: Re: [NOOB] Bonjour Services immediately crashing due to OPNsense
Post by: Patrick M. Hausen on October 27, 2024, 04:26:15 PM
You should change that to chesterland.lan - chesterland is not a valid domain name.