How uPnP reports IP address to Windows Network Discovery

Started by Taomyn, January 07, 2019, 02:30:20 PM

Previous topic - Next topic

I have two local networks on my firewall, LAN and GUEST_LAN, different NICs, subnets 192.168.1.x and 192.168.100.x and no routing between them. I have enabled uPnP and the interfaces set to GUEST_LAN and LAN. uPnP seems to work fine.

I noticed today that on my main LAN that Windows network discovery (which it displays as "FreeBSD router" reports the IP address of my OPNsense firewall as being that of the guest LAN i.e. it shows as https://192.168.100.1, which means it cannot be connected to from LAN. If I remove GUEST_LAN from the settings it changes to the correct https://192.168.1.1


Is there a way for the firewall to report the correct IP for each network when multiple interfaces are used?