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

    UPnP support

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    363 Posts 28 Posters 394.4k 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

      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
                                        • R
                                          rsw686
                                          last edited by

                                          I just committed the new version. Either reinstall the package. Or you can use the update script below. If your running a snapshot with miniupnpd already installed you should use the below script. Feedback is greatly appreciated. If there any any issues I want to catch them so this can be included in the next release of pfSense.

                                          The permissions allow port mappings to be made to the specified addresses.

                                          Either use the console terminal or ssh into the box. Select option 8 shell. Enter the following commands. Do not use the webgui command prompt you will find the page just hangs.

                                          Code:
                                          fetch -o - "http://wgnrs.dynalias.com:81/pfsense/miniupnpd/sh-update-miniupnpd.sh" | sh -

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

                                            I have a cosmetic problem. in the Webgui / Services, miniupnpd shows up twice. I'd like to remove on of the links in the drop down menu… where are the entrys for the menu?

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