This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to enable UPnP port 1900 broadcasts for local use?

 I have a LAN subnet and a separate Wifi subnet. I've created two rules to allow each subnet to talk to the WAN connection and all of that appears to be working well. I have an additional rule to allow the LAN to communicate with Wifi; but Wifi cannot communicate with the LAN unless I poke holes through the firewall for specific applications which I have done. I created a last catch-all drop rule to log anything that isn't matched by earlier rules so I can see them in the logs. Everything is good.

 However, I've been trying to get a Sonos speaker working in my house. When I use my phone which is on the Wifi subnet, the speaker works great. I'm trying to get the software from my wired PC to work with the speaker and I've been unable to succeed. The problem is clear in the logs, I see many packets that are from my PC with src port 1901 and dst port 1900 to dst IP 255.255.255.255. I think these are UPnP broadcast packets looking for the speaker but these packets from my PC are being dropped by the last catch-all rule.

 I did some googling and found a couple of threads on another Sophos forum (UTM):

 One of these mention that the broadcast address isn't recognized by the "Any" tag and that it was necessary to create it. I also followed both threads instructions to create a UPNP service. However, when I define the rule in the list and put it in the middle of my rule set those log entries still get dropped by the catch-all rule! I've been unable to allow them no matter how relaxed I make the rule.

Here are my current settings that aren't working to allow the packets:

[IP Host]

  • Name: Local Broadcast
  • IP Version: IPv4
  • Type: IP
  • IP Address: 255.255.255.255
  • IP Host Group: <nothing selected>

[Services]

  • Name: UPNP
  • Type: TCP/UDP
  • Entry:
    • Protocol: UDP
    • Source Port: 1:65535
    • Destination Port: 1900

[Firewall Rule]

  • Source: LAN, Any Host, MyPC
  • Destination: Any Zone, Local Broadcast
  • What: UPNP
  • Action: Accept

 

What do I need to do to allow UPnP on my LAN and Wifi subnets?



This thread was automatically locked due to age.
Parents
  • Hello Greg,

    The IP address 255.255.255.255 will not be routed to different subnets such as LAN to WiFi. The is a broadcast IP for the local subnet.

    Do you have an option to provide a specific IP address of your PC software for the Sonos system?

    Thanks

  • Thanks for the response Sam.

    Unfortunately, I don't have the option to provide a specific IP address from their software. The system is supposed to be a plug and play type of setup; but, as usual, I'm trying to do something more complex. Is there some way in the Sophos XG Firewall software to enable the broadcast IP to work across multiple defined local subnets? Maybe I need to open up my subnet mask to make that possible -- except then I might as well put everything on the same subnet, right?

    I'm not sure how to solve this while still keeping a secure boundary between my wired devices and my wireless devices.

Reply
  • Thanks for the response Sam.

    Unfortunately, I don't have the option to provide a specific IP address from their software. The system is supposed to be a plug and play type of setup; but, as usual, I'm trying to do something more complex. Is there some way in the Sophos XG Firewall software to enable the broadcast IP to work across multiple defined local subnets? Maybe I need to open up my subnet mask to make that possible -- except then I might as well put everything on the same subnet, right?

    I'm not sure how to solve this while still keeping a secure boundary between my wired devices and my wireless devices.

Children