uPnP is not working, how to test/fix?
-
I have a networking gaming device that uses a lot of ports, and would like to use uPnP to set it up. I am aware of the security concerns, and will setup the default deny, once I verify it is working, but as of now I get an error regarding uPnP, and I never see any ports setup in the pfsense status. I downloaded upnpc-shared from miniupnpc, and it fails if I try to create a port forward. I get the following errors. 501=ActionFailed, and 714=NoSuchEntryInArray, also GetEternalIPAdress=Failed, but this may not be that bad. This is with the latest pfsense 2.4.5-RELEASE-p1
.\upnpc-shared.exe -a <localip> <localport> <nat_port>
.\upnpc-shared.exe -l upnpc : miniupnpc library test client, version 1.9. (c) 2005-2014 Thomas Bernard. Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ for more information. List of UPNP devices found on the network : desc: http://192.168.1.1:2189/rootDesc.xml st: urn:schemas-upnp-org:device:InternetGatewayDevice:1 Found a (not connected?) IGD : http://192.168.1.1:2189/ctl/IPConn Trying to continue anyway Local LAN ip address : 192.168.1.132 Connection Type : IP_Routed Status : Connected, uptime=57763s, LastConnectionError : ERROR_NONE Time started : Tue Nov 10 14:38:57 2020 MaxBitRateDown : 1410065408 bps (1410.0 Mbps) MaxBitRateUp 1410065408 bps (1410.0 Mbps) GetExternalIPAddress failed. (errorcode=501) i protocol exPort->inAddr:inPort description remoteHost leaseTime GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.