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

    Upgrade to 2.1.3 = No UPnP

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    29 Posts 10 Posters 6.2k 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.
    • R Offline
      razzfazz
      last edited by

      Also, is there any commonality between the configurations where binding to interface causes failure that could explain this? Perhaps the problems only happen if the LAN interface has no IPv6 address?

      @foonus:

      Subbing igb1 to 192.168.1, made it work, but inconsistently, as the apps report the ports being open only intermittently and then closed again.

      Doesn't this point to there being some other issue? Once you replace the listening_ip setting, it should behave exactly as before, so I don't see why you'd still see problems at that point.

      1 Reply Last reply Reply Quote 0
      • R Offline
        razzfazz
        last edited by

        @jimp:

        We had that set before and I removed it a long time ago because it caused problems, looks like it snuck back in. Well intentioned, but broken.

        Jim, in case your comment is referring to ticket 1835, I'm not sure this is really related. Setting listening_ip to an interface instead of a v4 address is required for IPv6 support, but does not actually enable said support.

        1 Reply Last reply Reply Quote 0
        • R Offline
          razzfazz
          last edited by

          I wonder if this issue might be related to this fix (or rather, the lack thereof) that just went into miniupnpd earlier today. That, too, would suggest that the reason I'm not seeing it is that I have IPv6 addresses on my LAN interfaces. Would those of who are affected by the problem mind responding whether they use IPv6 or not?

          1 Reply Last reply Reply Quote 0
          • R Offline
            razzfazz
            last edited by

            I just posted pull requests for RELENG_2_1 and master that revert to the old behavior by default and add a checkbox to select the new behavior if desired.

            1 Reply Last reply Reply Quote 0
            • R Offline
              razzfazz
              last edited by

              If you're on 2.1.3, you can use the "System Patches" package to either either revert the original commit, or to apply my fix until a new build is released.

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

                Nicely done.  :)

                Steve

                1 Reply Last reply Reply Quote 0
                • R Offline
                  razzfazz
                  last edited by

                  Noooo, I was trying to get the prize for most back-to-back posts from the same author, and now you ruined everything!  ;)

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rjcrowder
                    last edited by

                    @razzfazz:

                    I wonder if this issue might be related to this fix (or rather, the lack thereof) that just went into miniupnpd earlier today. That, too, would suggest that the reason I'm not seeing it is that I have IPv6 addresses on my LAN interfaces. Would those of who are affected by the problem mind responding whether they use IPv6 or not?

                    I am not having the problem and do not use ipv6.

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

                      @razzfazz:

                      you ruined everything!  ;)

                      Ha! Sorry.  ;D

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • chpalmerC Offline
                        chpalmer
                        last edited by

                        No UPnP

                        Thats a bad thing???  ;D

                        Triggering snowflakes one by one..
                        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                        1 Reply Last reply Reply Quote 0
                        • Z Offline
                          Zflash76
                          last edited by

                          Well, if you're a gamer yes. I have issues with my Onkyo receiver and it's apps. They all use uPnP.

                          1 Reply Last reply Reply Quote 0
                          • JeGrJ Offline
                            JeGr LAYER 8 Moderator
                            last edited by

                            Well I am a gamer (in my free time) and never had to use uPnP for anything. So perhaps you can tell me what a receiver needs uPnP for?
                            Not that I am against fixing the package but I don't see the massive urgency promoted by a few posters, that this is as serious as breaking DNS or even the core packet filter.

                            Greets

                            Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                            1 Reply Last reply Reply Quote 0
                            • Z Offline
                              Zflash76
                              last edited by

                              My Oknyo needs Upnp to communicate with the mobile apps and according to my wife this breakage is WWIII. I also read in this topic that a xbox needs upnp for whatever reason.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                razzfazz
                                last edited by

                                If it's a matter of life and death, install the "system patches" package, then go to system->patches, click add ("+"), pick a description and put the following into the URL/Commit ID field:

                                
                                https://github.com/pfsense/pfsense/commit/d973a602abeab78803fce467198c571ba25ec0cb
                                
                                

                                Also check the "auto-apply" box. Then click save, click "test", and click "apply", go to services->upnp, make sure "Listen on interface instead of interface's IPv4 address" is not checked, click "change", and everything should work as before again.

                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  Zflash76
                                  last edited by

                                  Thanks!!

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

                                    You should be aware that the upnp implementation in pfSense, using miniupnpnd, only opens ports through the firewall. It does not do DLNA service discovery or anything like that. In other words only Internet Gateway Device not anything else listed here: http://en.wikipedia.org/wiki/Universal_Plug_and_Play
                                    You should check what your receiver is doing that requires upnp on pfSense. About the only thing it could be doing is opening itself up general access from the internet.

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • JeGrJ Offline
                                      JeGr LAYER 8 Moderator
                                      last edited by

                                      @stephen: That's what I was wondering about. I can understand an XBox needing specific ports for game matchmaking (even that is old-school) but an audio receiver? Those things are the last ones (with smart TVs etc.) I want to have access to the internet. Just my 2c.

                                      Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                                      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        razzfazz
                                        last edited by

                                        I imagine it's so the companion app that was mentioned can access the receiver even if the phone is not on the local network. (Now, why you'd want to control a receiver from outside the home, I really don't know.)

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

                                          I guess if it's some 'cloud' style control service. Seems like either lazy programming or a great excuse to monitor exactly what all your users are listening to.  ::)
                                          A common complaint with these types of apps is that they are streaming locally but use DLNA to 'find' the receiver/TV etc, there is no way of entering the IP address manually and it won't look outside it's own subnet. It's possible to proxy the DLNA discovery and announcement packets or to act as the 'directory' (for want of the technical term) across subnets and but pfSense cannot do that. miniupnpd is not designed to do that. Unfortunately all of these functions and more get lumped together under the term UPNP and people assume it can.

                                          Steve

                                          Like this:
                                          http://forum.eu.onkyo.com/viewtopic.php?f=53&t=67

                                          1 Reply Last reply Reply Quote 0
                                          • Z Offline
                                            Zflash76
                                            last edited by

                                            She doesn't use it outside our lan, but that stupid My AV and Onkyo Remote app only works if uPNP is enabled. I've tried without it and it simply doens't work. She uses it to run shoutcast, TuneIn and Spotify on the receiver. This is the newest model that has all those apps on the receiver itself. With the remote app you can very easily control those apps.

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