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

    UPnP issue: sessions not showing up in status screen

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 674 Views 2 Watching
    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.
    • S Offline
      sbourdeaud
      last edited by sbourdeaud

      I have set up UPnP and Hybrid NAT with static port mapping for my gaming PCs.
      I can see my NAT Type as Moderate, but when I go to the UPnP status screen, I don't see any sessions.

      Questions:

      1. Why aren't my UPnP sessions showing up?
      2. How can I get Open NAT (vs Moderate)?

      I am running pfSense 2.5.2
      Some information about the configuration:

      Using Pure NAT with "Enable automatic outbound NAT for Reflection"
      UPnP enabled with "Allow UPnP Port Mapping", "Allow NAT-PMP Port Mapping" and "Deny access to UPnP & NAT-PMP by default."
      Each gaming device has a allow rule in the UPnP configuration for a given port range.
      NAT type is set to Hybrid and I have rules for gaming system alias to do static port mapping.

      I get always the same static IP from my ISP with no port restrictions.

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

        The most common reason for UPnP not working is double NAT. Is your pfSense WAN using a public IP directly?

        Try just allowing any UPnP, disable the default deny. Does it create sessions then?

        Steve

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          sbourdeaud @stephenw10
          last edited by

          @stephenw10 yes, WAN is using a public IP (my ISP router is in bridge mode).
          Using upnpc client I see that I can request ports to be opened which then show up in the UPnP status page, so I'm guessing it's a game application thing... I have created manual port forwarding rules for the games, but still getting moderate NAT.
          Not sure what's going on.

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

            Hmm, well if they are not asking for UPnP forwards there's not much pfSense can do.
            It's possible they are asking for something miniupnpd cannot set. You might try running pcap for the upnp traffic on the LAN.

            Steve

            1 Reply Last reply Reply Quote 0
            • S Offline
              sbourdeaud
              last edited by sbourdeaud

              I think it's just the gaming apps not sending UPnP requests. I'll set up a pcap when I have time to fiddle with it.

              In the meantime, for anybody looking into testing UPnP, here is a good read on the upnpc utility you can use to do just that: FYI: Tool to test and set Port Forwarding with UPnP

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