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

    What site-to-site solution supports Avahi reflection?

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 221 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.
    • O
      ohmantics
      last edited by

      Adding a second site with pfSense Plus.

      We have an ever-increasing amount of gear that requires multicast to administer and only comes with closed-source phone applications. mDNS is traditionally used by Apple software and HomeKit devices, but is now also used for Matter devices, Elgato lights, etc. This isn't a choice — this is a requirement now.

      I get that the site-to-site solution will need to support L2 and there seem to be a few choices (IPSec/L2TP, OpenVPN, VXLANs) but it's not clear which if any will work for Avahi reflection, which requires interfaces.

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

        @ohmantics said in What site-to-site solution supports Avahi reflection?:

        mDNS is traditionally used by Apple software and HomeKit devices, but is now also used for Matter devices, Elgato lights, etc.

        To answer your specific question, both Avahi and mDNS-Bridge require multicast enabled interfaces. In theory, VXLAN could work, but I believe this was withdrawn from pfSense due to stability issues in the upstream implementation.

        FWIW, HomeKit/Matter devices are designed around the concept of having a controller in the local network. They are not designed with a remote controller in mind -- remote operations are expected to be performed through the network local controller.

        Instead of trying to flood multicast DNS across sites, consider placing a controller in each network. You can run this as multi-site HomeKit, or if a unified single site view is important you can build this with something like Home Assistant.

        YMMV

        O 1 Reply Last reply Reply Quote 1
        • O
          ohmantics @dennypage
          last edited by

          @dennypage I'm not asking for different solutions or to be told that I'm wrong for wanting this.

          I'm asking for a site-to-site solution that supports multicast using pfSense.

          Unifi and OPNsense both have this working and I'd rather not be forced to switch after all these years as I'm quite happy with pfSense otherwise.

          Have the upstream issues with VXLAN been addressed?
          Can OpenVPN be configured for L2 and does that work with Avahi reflection?
          Does IPSec/L2TP work with Avahi reflection?

          dennypageD 2 Replies Last reply Reply Quote 0
          • dennypageD
            dennypage @ohmantics
            last edited by

            @ohmantics said in What site-to-site solution supports Avahi reflection?:

            Can OpenVPN be configured for L2 and does that work with Avahi reflection? Does IPSec/L2TP work with Avahi reflection?

            Not that I am aware of.

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

              @ohmantics said in What site-to-site solution supports Avahi reflection?:

              @dennypage I'm not asking for different solutions or to be told that I'm wrong for wanting this.

              I'm asking for a site-to-site solution that supports multicast using pfSense.

              There’s a good reason you can’t find one.

              1 Reply Last reply Reply Quote 1
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                You can configure OpenVPN in TAP mode and bridge it to the local interfaces to carry L2 traffic. That can work OK as long as latency isn't too high. But, I agree, it's usually the wrong solution.

                O 1 Reply Last reply Reply Quote 1
                • O
                  ohmantics @stephenw10
                  last edited by

                  @stephenw10 I’ll give that a shot.

                  I notice that TNSR still has VXLAN support. Will that be coming back to pfSense soon? If so, is that a better choice?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    The main reason we removed VXLANs last time was that bridging to them was broken at the time and that is/was required to use them is most common scenrios. Which a switch that supports them for example.

                    You would still need to encryption too.

                    There are no immediate plans to add VXLANs back but I believe the bridging issue is now resolved.

                    OpenVPN TAP mode works now and is encrypted by default.

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