Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Avahi not providing access to local Macs

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 909 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DominikHoffmann
      last edited by

      I just installed the Avahi package on 2.3.3-RELEASE-p1 and enabled it in Services→Avahi.

      I had expected to ssh into the pfSense box, get to the shell and do something like

      ping mymacbookpro.local
      

      However, the response is

      ping: cannot resolve mymacbookpro.local: Unknown host
      

      So, either things are not fully configured, or I don’t understand well enough, how Avahi works, or both.

      Does anyone have an idea of what to do?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The firewall itself isn't going to use mDNS for resolution. Avahi is primarily for allowing mDNS on different network segments to see each other.

        Though there are ways to get a FreeBSD host to resolve via mdns, we don't include support for any of those at this time, even via packages.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 1
        • D
          DominikHoffmann
          last edited by

          Lack of official support notwithstanding, I am going to try to get it to work.

          On http://www.alexforencich.com/wiki/en/freebsd/installing_avahi I found instructions on how to install Avahi on FreeBSD. Seeing that the Avahi deamon is already running on my pfSense box, I may just have to edit the hosts line in /etc/nsswitch.conf.

          I established that the deamon is running by issuing the```
          avahi-browse -a

          ssh admin@router.local

          
          Since I can’t currently reboot the box, I can’t test, whether editing /etc/nsswitch.conf will be all that is necessary.
          
          For now I can access the WebConfigurator by going to [https://router.local](https://router.local). However, it presents me with
          
          ![](https://image.ibb.co/k9zR8v/potential_dns_rebind_attack.png)
          
          At least it’s a start.
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.