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

    PSA -- uPnP/nat/pmp problems can be caused by network switches "IGMP Snooping"

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 563 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.
    • T
      tcarlisle
      last edited by

      TL;DR
      Unless you have a good reason to have "IGNMP Snooping" on, then disable it on your network switches and any other devices.

      uPnP broken on my network months ago and I never really worried about it too much except some games have problems with two instances running on the internal net. After spending a couple days troubleshooting, I narrowed it down to some of my network switches had "IGMP Snooping" enabled. As soon as I disabled that, uPnP/NAT/PMP started working.

      I learned a lot about miniupnpd in the process, and learned even more about capturing network traffic and wireshark, and about the various protocols involved.

      What made it more frustrating to troubleshoot, is that it was working on any of the several rasp pi's I have on my net, but any of the windows 10 boxes upnp was broken.

      It turns out that IGMP Snooping was enabled on the switches that sit between my firewall and the windows 10 boxes (by coincidence, not by design).

      After sorting this out, the miniupnp client (upnpc-static.exe) sees the pfsense firewall as an IGD, and I cna use the client to add/remove mappings as expected.

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

        I would agree that understanding what is configured and how it works and functions is yeah a big plus in knowing if you should enable whatever or not, and or if you need it or not, etc. ;)

        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

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