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

    UPnP not working

    Scheduled Pinned Locked Moved General pfSense Questions
    26 Posts 5 Posters 4.7k 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
      dsam
      last edited by

      Recently I discovered that UPnP, while enabled, is not actually working. I used the miniupnp client to make sure of that. UPnP is correctly configured with no default deny just to make sure. I then checked the logs and found out that it denies my computer's request because it does not belong to the LAN, even though it is indeed in the LAN specified in the configuration. I searched online and found that another person had the same issue and that apparently it was old yet patched. Am I missing anything here?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Says it not in the lan because of - lets see these logs.. Is it trying to open something to a 169.254.x.x address?

        Why do you have this in routing and multiwan?

        Do you have multiple wans - and your trying to get it open the ports on specific wan?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        D 1 Reply Last reply Reply Quote 0
        • D
          dsam
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • D
            dsam @johnpoz
            last edited by

            @johnpoz Sorry, but where should this be?

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Well it is isn't routing, and do you have multi wan? I would put in general or firewall questions.

              Going to move it to general right now. While I test this.. I have zero use or love of UPnP at all.. But sure will try and test it.. to validate it working..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              D 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8
                last edited by Bob.Dig

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • D
                  dsam @johnpoz
                  last edited by

                  @johnpoz Thank you. I do not like UPnP, but some games do require UPnP to function properly, especially if I need two instances of the same game running on different machines with NAT reflection and UPnP on.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    Trying to figure how to get this minupnppc to work... I can get a status now that enabled..

                    status.jpg

                    Give me a minute on reading the info on this - not a UPnP user ;) and never used this application before, etc.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    D 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      sure looks to be working

                      working.jpg

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • D
                        dsam @johnpoz
                        last edited by

                        @johnpoz This is the output I get from the same command.alt text

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          Well looks like you have multiple devices what is this 192.168.0.4 device? I assume pfsense is 192.168.0.1

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dsam @johnpoz
                            last edited by

                            @johnpoz Yes, pfsense is .0.1. The other one is a router in the same network with UPnP turned off. Even when it did not show up, there was a problem. I had a problem where another router was taking the UPnP requests. So I decided to turn off UPnP on all routers acting as access points.

                            1 Reply Last reply Reply Quote 0
                            • Bob.DigB
                              Bob.Dig LAYER 8
                              last edited by Bob.Dig

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by johnpoz

                                This works just fine... Here I did a tcp forward, vs that udp - because easier to test tcp..

                                So used that tool, requested port, from status on pfsense it opened the port..

                                Now while sniffing on lan, to validate pfsense sends the port on, I did a can you see me..

                                Pfsense sent on the traffic, so clearly upnp is working as it should.

                                working.jpg

                                Even the tool shows that the UPnP is up on pfsense

                                toolshows.jpg

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  dsam @johnpoz
                                  last edited by

                                  @johnpoz Is it possible to reset the UPnP service configuration? I tried to look for miniupnpd.conf, but could not find anything.

                                  1 Reply Last reply Reply Quote 0
                                  • Bob.DigB
                                    Bob.Dig LAYER 8
                                    last edited by

                                    This post is deleted!
                                    D 1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by johnpoz

                                      Well then you should open a thread for 2.5 development.. Its quite possible there is some issue with 2.5..

                                      All I can tell you is sure looks to be working as designed on 2.4.5..

                                      There should be no reason to reset it... I would suggest you just disable it and then re-enable it... This is what I did to enable it... I always have that shit protocol OFF ;) heheh

                                      settings.jpg

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dsam @Bob.Dig
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • kiokomanK
                                          kiokoman LAYER 8
                                          last edited by kiokoman

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by johnpoz

                                            Well that was prob just it saying I'm out of here - not going to run this crap protocol ;) heheh

                                            Guys its quite possible there are issues with upnp on 2.5 - it not released, you guys could be on different snaps even.. If you have issues or think you have issues with 2.5 and upnp you should bring it up in the 2.5 section.

                                            Edit: Guys please edit your 2.5 stuff there is zero reason post that here, it only distracts.. If you do not edit it, I will..

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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