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

    MDNS across two interfaces WITHOUT Avahi - help !

    Scheduled Pinned Locked Moved General pfSense Questions
    42 Posts 5 Posters 15.9k 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.
    • I
      ilium007
      last edited by

      Hi - I have an internal LAN subnet and an internal WIFI subnet. The wifi subnet is secured from the LAN and only certain protocols will be allowed.

      I want a client on the Inetrnal WiFi subnet to be able to control an AppleTV / iTunes on the LAN subnet - to do this I had previously used Avahi to handle the multicast DNS.

      I have had no end of problems with Avahi on the Alix2D13 hardware (size / dependancies etc) and someone on the forum has suggested that I may be able to get around the issue by using the builtin IGMP proxy. I have no idea how to configure it.

      I have removed all F/W rules between the LAN and wifi subnet and allowed the advanced option to allow IP Options on both interfaces in the F/W rules.

      Nothing that I do will get the multicast packets from one subnet to the other.

      Can anyone please help !??

      1 Reply Last reply Reply Quote 0
      • I
        ilium007
        last edited by

        @doktornotor:

        So have you tried the IGMP proxy, or?

        Yes - I tried all combinations of upstream / downstream and used both subnets (192.168.10.0/24 - LAN; and 10.0.101.0/24 - WiFi)

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          So what's your trouble exactly? (No, "does not work" is not exactly useful.)

          1 Reply Last reply Reply Quote 0
          • I
            ilium007
            last edited by

            @doktornotor:

            So what's your trouble exactly?

            A client on the WiFi subnet (an iPhone in this case) can't see the iTunes instance running on the LAN subnet. If I move the iPhone to the LAN subnet (different WAP) it pops up as it should in the Apple Remote app.

            I have done a packet capture on both interfaces and can not see the multicast traffic make it across the interface boundaries.

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Kindly post the relevant configuration screenshots here.

              1 Reply Last reply Reply Quote 0
              • T
                tim.mcmanus
                last edited by

                I too would like to know what the basic setup for IGMP Proxy would be to route mDNS across two LAN subnets.

                I have a download of the pfSense 2.1 book and it's basically a rehash of the Interface, nothing new there.  I've tried Googling the answer, but there's nothing pfSense-specific out there.

                I have two LANs that both communicate to one another but are on two separate subnets and physical LANs.  pfSense sits between both of them.

                All I'm trying to do is route mDNS traffic from (LAN) 10.0.1.0/24 to (LAN2) 10.0.2.0/24.  Really simple.  Both LANs have the default "LAN -> any" rule enabled, so everything is flying back and forth without an issue.  However, I'm not sure which interface to set up as the upstream and which the downstream and which subnets belong where.

                Please see my ignorance-fueled screen shot below.

                ![Screen Shot 2013-09-16 at 11.29.52 PM.png](/public/imported_attachments/1/Screen Shot 2013-09-16 at 11.29.52 PM.png)
                ![Screen Shot 2013-09-16 at 11.29.52 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2013-09-16 at 11.29.52 PM.png_thumb)
                ![Screen Shot 2013-09-16 at 11.30.09 PM.png](/public/imported_attachments/1/Screen Shot 2013-09-16 at 11.30.09 PM.png)
                ![Screen Shot 2013-09-16 at 11.30.09 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2013-09-16 at 11.30.09 PM.png_thumb)
                ![Screen Shot 2013-09-16 at 11.30.18 PM.png](/public/imported_attachments/1/Screen Shot 2013-09-16 at 11.30.18 PM.png)
                ![Screen Shot 2013-09-16 at 11.30.18 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2013-09-16 at 11.30.18 PM.png_thumb)

                1 Reply Last reply Reply Quote 0
                • I
                  ilium007
                  last edited by

                  @doktornotor:

                  Kindly post the relevant configuration screenshots here.

                  I had gone to bed last night when you posted this question. My screenshots and scenario mimick exactly the poster's scenario above. Two subnets and trying to get mDNS packets between them.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tim.mcmanus
                    last edited by

                    I'd also like to mention that I've checked off "allow packets with IP options to pass".  See additional screen shot.

                    ![Screen Shot 2013-09-17 at 12.05.28 AM.png](/public/imported_attachments/1/Screen Shot 2013-09-17 at 12.05.28 AM.png)
                    ![Screen Shot 2013-09-17 at 12.05.28 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2013-09-17 at 12.05.28 AM.png_thumb)

                    1 Reply Last reply Reply Quote 0
                    • T
                      tim.mcmanus
                      last edited by

                      What I am noticing is a lot of IPv6 traffic with port 5353 attached to it getting blocked at the firewall.  Not sure if Apple is implementing mDNS via IPv6 and that's why it's not routing.

                      Port 5353 is used by mDNS in Apple's implementation.  http://support.apple.com/kb/TS1629?viewlocale=en_US&locale=en_US

                      Or, I could be completely lost, which is how I feel.  :)

                      ![Screen Shot 2013-09-17 at 12.42.27 AM.png](/public/imported_attachments/1/Screen Shot 2013-09-17 at 12.42.27 AM.png)
                      ![Screen Shot 2013-09-17 at 12.42.27 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2013-09-17 at 12.42.27 AM.png_thumb)

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        Are you running IPV6?

                        1 Reply Last reply Reply Quote 0
                        • I
                          ilium007
                          last edited by

                          @kejianshi:

                          Are you running IPV6?

                          I have IPV6 turned off everywhere I can find a setting for it.

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by

                            Well, since you are blocking the traffic by disabling IPv6… mDNS is using multicast to 224.0.0.251 and FF02::FB - http://tools.ietf.org/html/rfc6762

                            1 Reply Last reply Reply Quote 0
                            • I
                              ilium007
                              last edited by

                              @doktornotor:

                              Well, since you are blocking the traffic by disabling IPv6… mDNS is using multicast to 224.0.0.251 and FF02::FB - http://tools.ietf.org/html/rfc6762

                              I am confused as to what IPv6 has to do with my mDNS problem? Nothing of mine talks IPv6 and mDNS has been around much longer than IPv6 became mainstream.

                              1 Reply Last reply Reply Quote 0
                              • D
                                doktornotor Banned
                                last edited by

                                Oh really? So the traffic comes from… hmmm, another galaxy? :D Pretty much every OS out there is using IPv6 by default these days.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kejianshi
                                  last edited by

                                  Hey - You were nicer than normal that time.  It does make for alot of noise in the logs though doesn't it?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    doktornotor Banned
                                    last edited by

                                    Yeah, it does. There's a checkbox somewhere in log settings to disable the default rule logging, plus a bunch of others.

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kejianshi
                                      last edited by

                                      Got it…  Thanks.

                                      Status > System Logs > settings

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        ilium007
                                        last edited by

                                        @doktornotor:

                                        Oh really? So the traffic comes from… hmmm, another galaxy? :D Pretty much every OS out there is using IPv6 by default these days.

                                        So is this a solution ? Do we have to have IPv6 enabled to make mDNS work ?

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          doktornotor Banned
                                          last edited by

                                          I don't use mDNS nor any Apple device for anything => no such nonsense needed here. As stated by the linked RFC (written by Apple itself, BTW), it uses both IPv4 and IPv6.

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            ilium007
                                            last edited by

                                            @doktornotor:

                                            I don't use mDNS nor any Apple device for anything => no such nonsense needed here. As stated by the linked RFC (written by Apple itself, BTW), it uses both IPv4 and IPv6.

                                            So what's with the hoohaa about me not using IPv6 ?

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