OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: chrismarcy on May 17, 2024, 04:18:50 PM

Title: Locate server mgmt. interface by mDNS/bonjour name
Post by: chrismarcy on May 17, 2024, 04:18:50 PM
Hi,
I have my firewall working fantastically. One question is whether I can use mDNS to log into the management interface, i.e. https://opnsense.local? This works fine for other devices on my network (Cisco switch, HP printer etc.) from my Mac and I read a mention in the getting started guide that it was possible but I can't get it to work. Any suggestions would be appreciated.

Thank you!
Title: Re: Locate server mgmt. interface by mDNS/bonjour name
Post by: haebi5 on May 20, 2024, 07:00:13 PM
If you name it opensense.local and your computer is also on that same top level domain (TLD), like as computer1.local, that should make the trick. If you want to make it more solid, start configuring unbound DNS on the sense and wire the host names for statical IP boxes there.
Title: Re: Locate server mgmt. interface by mDNS/bonjour name
Post by: feld on May 20, 2024, 08:07:35 PM
It needs to have avahi installed and configured for this to work, but it's not currently available as a plugin/package in OpnSense
Title: Re: Locate server mgmt. interface by mDNS/bonjour name
Post by: Patrick M. Hausen on May 20, 2024, 09:09:37 PM
Quote from: haebi5 on May 20, 2024, 07:00:13 PM
If you name it opensense.local and your computer is also on that same top level domain (TLD), like as computer1.local, that should make the trick. If you want to make it more solid, start configuring unbound DNS on the sense and wire the host names for statical IP boxes there.
Don't do this. Using .local as your domain will break mDNS - the domain is reserved exactly for that.