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

    New Avahi package

    Scheduled Pinned Locked Moved pfSense Packages
    57 Posts 12 Posters 38.6k 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.
    • B
      Bernard Senior
      last edited by

      @dennypage

      Thank you very much for your answer.
      I added and enabled a virtual interface for the vpn tunnel : ovpnc1.
      The configuration is now :
      [server]
      allow-interfaces=re0,ovpnc1
      Is it better ? I have to enter the same config at the other end of the tunnel.

      I tried this configuration but when I added opvnc1 on the second pfSense, I lost the connection of the tunnel !
      Presently, the VPN connection go out through a WAN 4G interface to a VPN server hosted by a small VPS on the internet.
      I think it's safer for us to talk to the person who installed the VPN tunnel !
      Thank you for your help.

      1 Reply Last reply Reply Quote 0
      • J
        jagradang
        last edited by

        Does anyone know a good windows mDNS browser i can use, there are suggestions above for mac and linux but i can't seem to find anything for windows.

        I am struggling casting to my samsung smart tv and my firestick and can't print to my epson printer. Was hoping to use a discovery tool to see what is actually being found and try and work from there.

        1 Reply Last reply Reply Quote 0
        • E
          edz
          last edited by edz

          EDIT: Well, a lesson if anyone faces a similar issue. I am running Unifi APs and the Block LAN to WLAN Multicast and Broadcast Data option was the culprit. It's all working now. :)

          I am having problems on a Mac detecting a NAS Time Machine share (Bonjour/AFP) protocol. I had this working prior with an EdgeRouter and mDNS but am not having much luck on pfSense. I have posted about it here: https://forum.netgate.com/topic/147061/avahi-synology-shares-afp

          Appreciate if anyone can help out.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @edz
            last edited by

            @edz said in New Avahi package:

            Appreciate if anyone can help out.

            Did you check :

            @edz said in New Avahi package:

            Unifi APs and the Block LAN to WLAN Multicast and Broadcast Data option

            and what if this AP is filtering also the other way around ?
            No WLAN to LAN "cast" traffic and Avahi will not see anything ?!

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • L
              logan5247
              last edited by

              Hoping someone can help me out with this, trying to use Avahi to AirPrint across two VLANs...

              Interfaces
              LAN (default VLAN1) - 10.10.1.0/24 (this is where my iPhone and all other devices are)
              BLACKHOLE (VLAN40) - 10.10.40.0/24 (this is where the wireless printer lives, this VLAN has no access back to other VLANs)

              The request to print looks like this.

              LAN ------print request------> BLACKHOLE
              

              From my LAN (10.10.1.0/24), I can ping the printer (10.10.40.12) and access the web interface, so I know the VLAN setup is working. Below is the firewall setup for my LAN.
              19815cda-c978-4ab3-ae8d-3b4024e2e0ce-image.png

              However, from my iPhone (on the LAN network), when I try to print, it can't find the printer via AirPrint (even though I can ping the printer from my iPhone). Here is my Avahi setup, what am I missing?
              14199198-0bd7-4809-9fb9-2696c37f96ff-image.png

              My wireless is through UniFI, so I have made sure this setting is unchecked on all of my wireless networks.
              c689cbad-3b3b-4e6d-832d-817593e3da9d-image.png

              I've also made sure this is checked on my LAN network's wifi.
              59f8b958-6720-4a43-bb2e-d866414da11d-image.png

              dennypageD 1 Reply Last reply Reply Quote 0
              • dennypageD
                dennypage @logan5247
                last edited by

                @logan5247 Is mDNS enabled on the printer?

                Before trying to diagnose issues across subnets, you want to confirm that it works within the same net. Join the blackhole network with your iPhone and confirm that AirPrint works.

                L 1 Reply Last reply Reply Quote 0
                • L
                  logan5247 @dennypage
                  last edited by

                  @dennypage said in New Avahi package:

                  @logan5247 Is mDNS enabled on the printer?

                  Before trying to diagnose issues across subnets, you want to confirm that it works within the same net. Join the blackhole network with your iPhone and confirm that AirPrint works.

                  Yep, that works just fine! I also used an mDNS discovery app on my iPhone and it also sees the printer.

                  dennypageD 1 Reply Last reply Reply Quote 0
                  • dennypageD
                    dennypage @logan5247
                    last edited by

                    @logan5247 Okay. Have you checked the firewall log? Status -> System Logs -> Firewall. Look for entries for interface LAN or BLACKHOLE.

                    Are you serving IPv6 in either subnet? Does the discovery app show any IPv6? FWIW, you probably want to disable IPv6 support in Avahi as you don't have sufficient rules to allow IPv6 to work properly between the networks.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      logan5247 @dennypage
                      last edited by

                      @dennypage said in New Avahi package:

                      @logan5247 Okay. Have you checked the firewall log? Status -> System Logs -> Firewall. Look for entries for interface LAN or BLACKHOLE.

                      Are you serving IPv6 in either subnet? Does the discovery app show any IPv6? FWIW, you probably want to disable IPv6 support in Avahi as you don't have sufficient rules to allow IPv6 to work properly between the networks.

                      Ah now you're onto something, I see this in the logs!

                      filterlog: 76,,,1574278188,igb1.40,match,block,in,4,0x0,,255,27,0,none,17,udp,520,10.10.40.12,224.0.0.251,5353,5353,500
                      

                      My BLACKHOLE network isn't allowed to talk back to LAN, let me open some stuff up and see!

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        logan5247 @logan5247
                        last edited by

                        @logan5247 said in New Avahi package:

                        @dennypage said in New Avahi package:

                        @logan5247 Okay. Have you checked the firewall log? Status -> System Logs -> Firewall. Look for entries for interface LAN or BLACKHOLE.

                        Are you serving IPv6 in either subnet? Does the discovery app show any IPv6? FWIW, you probably want to disable IPv6 support in Avahi as you don't have sufficient rules to allow IPv6 to work properly between the networks.

                        Ah now you're onto something, I see this in the logs!

                        filterlog: 76,,,1574278188,igb1.40,match,block,in,4,0x0,,255,27,0,none,17,udp,520,10.10.40.12,224.0.0.251,5353,5353,500
                        

                        My BLACKHOLE network isn't allowed to talk back to LAN, let me open some stuff up and see!

                        @dennypage thank you! I had blocked all communication back from BLACKHOLE to my LAN. I had to allow 5353/udp from BLACKHOLE to LAN and now it's working great!
                        34db4ef2-47cf-4583-92c1-cae50a736ba7-image.png

                        dennypageD 1 Reply Last reply Reply Quote 0
                        • dennypageD
                          dennypage @logan5247
                          last edited by

                          @logan5247 said in New Avahi package:

                          My BLACKHOLE network isn't allowed to talk back to LAN, let me open some stuff up and see!

                          @dennypage thank you! I had blocked all communication back from BLACKHOLE to my LAN. I had to allow 5353/udp from BLACKHOLE to LAN and now it's working great!

                          I think you want to allow BLACKHOLE to send mDNS (5353) to firewall rather than to any.

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            logan5247 @dennypage
                            last edited by logan5247

                            @dennypage said in New Avahi package:

                            @logan5247 said in New Avahi package:

                            My BLACKHOLE network isn't allowed to talk back to LAN, let me open some stuff up and see!

                            @dennypage thank you! I had blocked all communication back from BLACKHOLE to my LAN. I had to allow 5353/udp from BLACKHOLE to LAN and now it's working great!

                            I think you want to allow BLACKHOLE to send mDNS (5353) to firewall rather than to any.

                            I just tried that (switching from ANY to FIREWALL) and it didn't work. When I switched back to ANY, it works. The firewall logs show it's trying to send to 224.0.0.251, so maybe I can just allow it to go to that address.

                            1 Reply Last reply Reply Quote 0
                            • System referenced this topic on
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.