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

UPnP support

Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
363 Posts 28 Posters 400.1k 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.
  • V
    valnar
    last edited by Jan 1, 2007, 4:30 PM

    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 Jan 1, 2007, 5:16 PM

      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 Jan 1, 2007, 5:53 PM Jan 1, 2007, 5:45 PM

        @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
        • V
          valnar
          last edited by Jan 1, 2007, 6:07 PM

          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 Jan 1, 2007, 6:49 PM

            @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 Jan 2, 2007, 3:16 PM

              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 Jan 2, 2007, 3:45 PM

                @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 Jan 3, 2007, 9:14 AM

                  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 Jan 3, 2007, 11:03 PM Jan 3, 2007, 7:43 PM

                    @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 Jan 4, 2007, 12:10 AM

                      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 Jan 28, 2007, 10:36 PM

                        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 Jan 29, 2007, 9:08 PM

                          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 Feb 11, 2007, 2:05 PM

                            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
                            • R
                              rsw686
                              last edited by Feb 11, 2007, 2:08 PM

                              @bob:

                              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?

                              You probably had the miniupnpd package installed and then restored your config to a snapshot image. Or installed the package on a snapshot image. If either of these are the case what you can do is backup your config. Remove the following from the installedpackages section. Then restore the config.

                              <package><name>miniupnpd</name>
                                    <descr>Emulates Microsoft's Internet Connection Service (ICS). It implements the UPnP Internet
                                    Gateway Device specification (IGD) and allows UPnP aware clients, such as MSN Messenger to
                                    work properly from behind a NAT firewall.</descr>
                                    <website>http://miniupnp.free.fr/</website>
                                    <category>Network Management</category>
                                    <maintainer>seth.mos@xs4all.nl ryan@wgnrs.dynu.com</maintainer>
                                    <version>20061214</version>
                                    <required_version>1.0</required_version>
                                    <status>Stable</status>
                                    <config_file>http://www.pfsense.com/packages/config/miniupnpd/miniupnpd.xml</config_file>
                                    <configurationfile>miniupnpd.xml</configurationfile></package>

                              <menu>
                              <name>MiniUPnPd</name>
                              <tooltiptext>Set miniupnpd settings such as interfaces to listen on.</tooltiptext>
                              Services
                              <url>/status_upnp.php</url>
                              </menu>

                              <service><name>miniupnpd</name>
                              <rcfile>miniupnpd.sh</rcfile>
                              <executable>miniupnpd</executable></service>

                              1 Reply Last reply Reply Quote 0
                              • B
                                bob
                                last edited by Feb 11, 2007, 2:49 PM

                                Thanks, why didn't I see this in the first place  ::)
                                Shame on me.
                                All looks good now.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  This community forum collects and processes your personal information.
                                  consent.not_received