OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: hellohi3654 on September 19, 2024, 03:44:44 PM

Title: UPnP no sessions appearing
Post by: hellohi3654 on September 19, 2024, 03:44:44 PM
I have tried to setup UPnP on my OPNsense router by following this guide.

https://luz.io/home/opnsense-upnp
(https://luz.io/home/opnsense-upnp)
But when I reboot after setting it up my WAN doesn't connect and I have to remove the firewall rules and reboot to fix it.

I have the client address set to 192.168.1.0/24 as I want all devices to be able to use UPnP. I am on starlink so cgnat and I have had UPnP working before on a Asus router.

I have hybrid outbound NAT set with two rules for open nat (ipv4 and ipv6).

I am trying to get multiplayer to work in xbox game pass games on windows 11 and also hamachi for multiplayer as well.
Title: Re: UPnP no sessions appearing
Post by: hellohi3654 on September 21, 2024, 11:39:02 AM
Ah found a error

syntax error - The line in question reads [61]: rdr on bridge0 from {any} to {192.168.1.0/24} -> {any} bitmask

Line 61 is rdr-anchor "miniupnpd" in rules.debug

Probably why upnp is not working

anyone know how to fix this?

thanks
Title: Re: UPnP no sessions appearing
Post by: AhnHEL on September 21, 2024, 04:50:43 PM
Check your port forward rules, looks like one of your redirects is causing a conflict.
Title: Re: UPnP no sessions appearing
Post by: hellohi3654 on September 22, 2024, 10:53:12 AM
Weird only have the antilock rule in port forwarding

Could it be my outbound NAT config?

Got two rules one for IPV4 other IPV6 for open NAT

Edit:

Also have the 3 NAT settings at the top ticked / enabled in firewall -> settings -> advanced tab