UPnP service doesn't seem to work

Started by network_pseudonym, August 27, 2024, 08:13:05 AM

Previous topic - Next topic
Is there a way I can see logs just for this service?

I have:

Enable X
Allow UPnP IGD X
Allow PCP/NAT-PMP X
External interface WAN
Interfaces LAN2
Interface subnet default
STUN server ____
STUN port 3478
Maximum download speed ____
Maximum upload speed ____
Override WAN address ____
Log packets O
Use system time O
Default deny X

Entry 1 allow port address/32 port
Entry 2 allow port address/32 port

I have tried turning off default deny.

LAN2 is normally blocked from speaking to the firewall other than DNS so I have tried adding firewall rules for LAN2 to allow port 1900 TCP/UDP to the firewall, to 255.255.255.250, and to any address at all, none have worked. Nothing shows up in the UPnP service status.

Did you ever find a solution to this?  Since installing OPNSense months ago I've never been able to get upnp working.

Have you tried using the following port range?

allow 88-65535 192.168.1.100 88-65535

Source ports are randomized so using a static port wont match unless you've made a specific static outbound NAT rule.  And check off Log Packets if you like.

My UPnP Service Status shows multiple connections to the Gaming Consoles I use UPnP for.
AhnHEL (Angel)

Quote from: AhnHEL on September 04, 2024, 11:56:16 PM
Have you tried using the following port range?

allow 88-65535 192.168.1.100 88-65535

Source ports are randomized so using a static port wont match unless you've made a specific static outbound NAT rule.  And check off Log Packets if you like.

My UPnP Service Status shows multiple connections to the Gaming Consoles I use UPnP for.

I've allowed the below

allow 1024-65535 192.168.50.100/32 1024-65535

I believe my port forward rules are correct?  My UPnP status has always been empty regardless of what game I run.  Destiny 2 shows Moderate as well as Warzone.