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

    UPnP support

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    363 Posts 28 Posters 398.3k 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
      rsw686
      last edited by

      @trendchiller:

      I'd find it better, too… with a checkbox...

      else, why is the miniupnpd listed in the packages tab when it's included in the pfsense itself ?

      Its listed in the packages tab because its not included in an official release yet. Once it is, it will be removed from the packages list.

      Yes its easy to add a checkbox, but I really don't understand why. Its redundant to the interfaces box. A check is just as easy to spot as a highlighted interface.  ;) ;)

      The thing is then if you select the checkbox miniupnpd might not be running because no interfaces are selected.

      Let me discuss this and I'll get back to you two on it.

      1 Reply Last reply Reply Quote 0
      • B
        billm
        last edited by

        @trendchiller:

        I'd find it better, too… with a checkbox...

        else, why is the miniupnpd listed in the packages tab when it's included in the pfsense itself ?

        I answered that something like 5 posts back.

        –Bill

        pfSense core developer
        blog - http://www.ucsecurity.com/
        twitter - billmarquette

        1 Reply Last reply Reply Quote 0
        • R
          rsw686
          last edited by

          I updated miniupnpd to version 20061214. I added the checkbox to enable it, and changed the format of miniupnpd to MiniUPnPd on the menu. Let me know if theres anything else you see that should be changed.

          1 Reply Last reply Reply Quote 0
          • valnarV
            valnar
            last edited by

            Sorry I haven't read through this whole thread, but I have a question.

            I'm coming as a m0n0wall user that needs UPnP support.  Do any of the later builds have this already installed in pfsense?  Or is it still a manual process to get it added?  I need this functionality to make an H.323 video application work.  http://www.polycom.com/products_services/0,,pw-4367,00.html

            I'll be using the embedded (WRAP) image.

            Thanks!
            Robert

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

              if this is a embedded or livecd install. fetch yourself a snapshot from http://pfsense.com/~sullrich/

              If this is a HD install. Download 1.0.1 and install the package through the package menu.

              1 Reply Last reply Reply Quote 0
              • valnarV
                valnar
                last edited by

                Got the latest one there. Thanks!

                Robert

                Edit: UPnP seems to be working, but there is nothing ever listed in the UPNP Status page.
                Also, once you've entered some information in the miniupnpd Settings tab, is there ever a way to stop or clear the firewall from using UPnP short of resetting back to factory defaults?  How do you stop or restart the service?

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

                  let's see, there is a enable disable checkbox.
                  Status -> Services displays the current status.
                  And the upnp status does display created port mapping. If there is nothing mapped, there is nothing to see. The rest goes into the system log.

                  1 Reply Last reply Reply Quote 0
                  • valnarV
                    valnar
                    last edited by

                    Where is the enable/disable checkbox?  Not on the 12-23-2006 build I'm using.

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

                      System -> packages -> installed Packages -> reinstall package gui components

                      1 Reply Last reply Reply Quote 0
                      • valnarV
                        valnar
                        last edited by

                        There is no Packages in System.  I'm on a WRAP.

                        So how would one know if its enabled?

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

                          ah, well, the current upnp code included in base is not yet up to date with the package. That will probably work itself out in the near future.

                          1 Reply Last reply Reply Quote 0
                          • R
                            rsw686
                            last edited by

                            @valnar:

                            Got the latest one there. Thanks!

                            Robert

                            Edit: UPnP seems to be working, but there is nothing ever listed in the UPNP Status page.
                            Also, once you've entered some information in the miniupnpd Settings tab, is there ever a way to stop or clear the firewall from using UPnP short of resetting back to factory defaults?  How do you stop or restart the service?

                            @databeestje:

                            ah, well, the current upnp code included in base is not yet up to date with the package. That will probably work itself out in the near future.

                            FYI its been updated in the base code for about a week, just have to wait for a new snapshot to be released. Includes the enable button, the starting and stopping via the system -> services page, and fixes an issue with port mappings not being shown on when log packets is checked. Clicking clear on the upnp status page will clear all current mappings and restart the service.

                            1 Reply Last reply Reply Quote 0
                            • valnarV
                              valnar
                              last edited by

                              Ah… and turning off the log now shows my upnp mappings on the status page.  Cool.  Thanks!

                              1 Reply Last reply Reply Quote 0
                              • R
                                rsw686
                                last edited by

                                @valnar:

                                Ah… and turning off the log now shows my upnp mappings on the status page.  Cool.  Thanks!

                                Check out http://forum.pfsense.org/index.php/topic,551.msg17500.html#msg17500 for how to edit the status page to fix the issue in the meantime if you want the log packets option checked.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mbedyn
                                  last edited by

                                  hello
                                  I got many off this code```
                                  miniupnpd[639]: 3 active incoming HTTP connections

                                  
                                  regards
                                  Michael
                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rsw686
                                    last edited by

                                    @mbedyn:

                                    hello
                                    I got many off this code```
                                    miniupnpd[639]: 3 active incoming HTTP connections

                                    
                                    regards
                                    Michael
                                    

                                    It just means multiple machines are hitting it at the same time. WinXP is notorious for doing this to check the status of the Internet Gateway. It should probably not be shown in the syslog. I will talk to the author about this.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mbedyn
                                      last edited by

                                      It will be very helpfull removing this from logs.. ;) sometimes it's flooding me realy serious

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rsw686
                                        last edited by

                                        @mbedyn:

                                        It will be very helpfull removing this from logs.. ;) sometimes it's flooding me realy serious

                                        If you would like you can use the development version that has this change made. Has some other minor fixes as well.

                                        From the console choose option 8 shell. Type the following commands.

                                        cd /tmp
                                        fetch http://wgnrs.dynalias.com:81/pfsense/miniupnpd/devel/miniupnpd
                                        fetch http://wgnrs.dynalias.com:81/pfsense/miniupnpd/sh-replace-binary.sh
                                        chmod +x sh-replace-binary.sh
                                        ./sh-replace-binary.sh miniupnpd

                                        It will return an md5sum that matches A6C7B90607557738E6BFD2354DED1177. Although I might update the binary so the md5sum could change.

                                        If you run into any problems you could restore your previous version with these commands.

                                        cd /tmp
                                        fetch http://pfsense.com/packages/config/miniupnpd/sbin/miniupnpd
                                        fetch http://wgnrs.dynalias.com:81/pfsense/miniupnpd/sh-replace-binary.sh
                                        chmod +x sh-replace-binary.sh
                                        ./sh-replace-binary.sh miniupnpd

                                        It will return an md5sum that matches 017A5A5A60E7CE448AEF70B0D1A4DBD2.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mbedyn
                                          last edited by

                                          thank's
                                          I have reinstalled package according to your instructions…
                                          Will see  ;) I will report soon

                                          regards
                                          Michael :)

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            rsw686
                                            last edited by

                                            Heres what you have to look forward to in the next week or so. Access restrictions for miniupnpd have been added for improved security. There are still some bugs that need to be worked out so it should be finished soon. Also miniupnpd is now using a config file instead of multiple command line arguments. Any suggestions are appreciated.

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