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

    miniUPnPd not working since 23.09 (worked in 23.05.1)

    Scheduled Pinned Locked Moved General pfSense Questions
    27 Posts 5 Posters 3.9k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @PiAxel
      last edited by

      @PiAxel said in miniUPnPd not working since 23.09 (worked in 23.05.1):

      How can I know if the port 2189 is already use by another service ?

      do the command I did with sockstat

      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

      P 1 Reply Last reply Reply Quote 1
      • P
        PiAxel @johnpoz
        last edited by

        @johnpoz
        ok thank you
        but it is not used...

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

          @PiAxel well if its running and you want to know what port it is using do

          sockstat | grep miniupnpd

          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

          P 1 Reply Last reply Reply Quote 0
          • P
            PiAxel @johnpoz
            last edited by

            @johnpoz

            /root: sockstat | grep miniupnpd
            root     miniupnpd  36049 4   tcp6   *:51760               *:*
            root     miniupnpd  36049 5   dgram  -> /var/run/log
            root     miniupnpd  36049 6   tcp4   *:51760               *:*
            root     miniupnpd  36049 7   udp4   *:1900                *:*
            root     miniupnpd  36049 8   stream /var/run/php-fpm.socket
            root     miniupnpd  36049 9   udp6   *:1900                *:*
            root     miniupnpd  36049 10  udp4   192.168.1.1:55617     *:*
            root     miniupnpd  36049 11  udp6   *:64174               *:*
            root     miniupnpd  36049 12  stream /var/run/php-fpm.socket
            root     miniupnpd  36049 14  udp4   192.168.1.1:5351      *:*
            root     miniupnpd  36049 15  udp6   *:5351                *:*
            
            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              That seems fine. I have no explanation as to why changing the port value to 1900 seemed to allow it work though. That really shouldn't have changed anything significant.

              P 1 Reply Last reply Reply Quote 0
              • P
                PiAxel @stephenw10
                last edited by

                thank you very much for your help !

                P 1 Reply Last reply Reply Quote 0
                • P
                  PiAxel @PiAxel
                  last edited by

                  @PiAxel
                  The problem is back since update 23.09.1
                  everything seems to be working fine but neither my NAS nor any other network device can open a port via upnp. the games on my pc say that I am in strict NAT.
                  In pfsense stat upnp is empty.
                  f6d07078-2e0b-47d8-a9c1-71c6161f3078-image.png
                  541c839e-57d0-426d-9a96-61cfbb8ade8e-image.png
                  I try with port=0 instead of 2189 but it didn't change anything
                  2d0856ea-155c-4fc6-a6db-6da1770a278c-image.png
                  b716ca21-8f88-4b96-9147-d7b885ee4fd2-image.png
                  Tell me what you want to know about my pfsense.

                  Please help me!

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    PiAxel @PiAxel
                    last edited by

                    I have disabled STUN and there is no more message with "port forwarding is now disabled" but that still doesn't work.

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

                      @PiAxel said in miniUPnPd not working since 23.09 (worked in 23.05.1):

                      STUN: ext interface ix0 has now public IP address external ipv4 but firewall filters incoming connections set by miniunnpd

                      That implies you have something set that is preventing miniupnpd opening inbound ports somehow.

                      Do you have a custom block all rule on WAN or as Floating?

                      P 1 Reply Last reply Reply Quote 1
                      • P
                        PiAxel @stephenw10
                        last edited by

                        @stephenw10
                        No, I don't have any rule on WAN or as floating to block all

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

                          Could be something upstream blocking it then. Try to send some traffic to your WAN from some external address and see if it arrives in a packet capture.

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

                            you have to add a rule in wan to allow...

                            65762eb4-ba3f-4ff2-9d7a-5d305d84084a-image.png

                            ## External Network
                            
                            ext_ifname=igc0
                            ext_perform_stun=yes
                            ext_stun_host=198.100.144.121
                            ext_stun_port=3478
                            
                            ## Internal Network
                            
                            listening_ip=bridge0
                            ipv6_disable=yes
                            allow 1024-65535 192.168.1.0/24 1024-65535
                            deny 0-65535 0.0.0.0/0 0-65535
                            bitrate_down=512000
                            bitrate_up=1024000
                            
                            
                            ## UPnP Settings
                            
                            anchor=miniupnpd
                            enable_natpmp=yes
                            enable_upnp=yes
                            secure_mode=yes
                            min_lifetime=120
                            max_lifetime=86400
                            system_uptime=yes
                            notify_interval=60
                            clean_ruleset_interval=600
                            packet_log=yes
                            uuid=fb241e30-9c00-11ee-xxxxxxxxxxx
                            serial=CA0A9DD5
                            

                            db87680c-23fb-4b12-b5c4-4d1bdbc68a67-image.png

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