I am trying to get uPNP working on IPv4 but something in the mix is not working.
For testing I am using the upnpc client on a host on the 'LAN' zone. LAN zone has input accept to the router.
upnpc output is:
seb@DESKTOP:~$ upnpc -r 2222 TCP
upnpc : miniupnpc library test client, version 2.2.3.
(c) 2005-2021 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
No IGD UPnP Device found on the network !
First thought was whether it's getting blocked at the switch as it's got Multicast snooping enabled and is also set as my querier. However the switch seems to be dealing with this just fine, and has setup the multicast group for 239.255.255.250 which is the address used by SSDP for uPNP.
SSH@switch2#show ip multicast group
Display all groups for all vlans on all ports.
p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no
VL10 : 4 groups, 9 group-port
group p-port ST QR life mode source
1 239.255.255.253 e1/1/2 no yes 220 EX 0
2 224.0.1.127 e1/1/2 no yes 220 EX 0
3 224.0.1.55 e1/1/1 no yes 240 EX 0
4 239.255.255.250 e1/1/3 no yes 220 EX 0
5 239.255.255.250 e1/1/11 no yes 240 EX 0
6 239.255.255.250 e1/3/1 no yes 240 EX 0
7 239.255.255.250 e1/3/2 no yes 240 EX 0
8 239.255.255.250 e1/1/2 no yes 220 EX 0
9 239.255.255.250 e1/1/10 no yes 240 EX 0
Verbose logging on miniupnpd seems to confirm no packets are making it to the daemon (i.e. there is no log entry at the time the upnpc request is sent). In fact the only log chatter from miniupnpd is IPv6 related, nothing on IPv4 interfaces.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
seb@DESKTOP:~$ upnpc -r 2222 TCP
upnpc : miniupnpc library test client, version 2.2.3.
(c) 2005-2021 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
No IGD UPnP Device found on the network !
root@router:~# tcpdump -i eth3.10 port 1900
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth3.10, link-type EN10MB (Ethernet), snapshot length 262144 bytes
13:27:15.190743 IP 192.168.1.240.65140 > 239.255.255.250.1900: UDP, length 176
13:27:16.195866 IP 192.168.1.240.65140 > 239.255.255.250.1900: UDP, length 176
13:27:17.208854 IP 192.168.1.240.65140 > 239.255.255.250.1900: UDP, length 176
13:27:18.210834 IP 192.168.1.240.65140 > 239.255.255.250.1900: UDP, length 176