I have been using the UPnPBridge plugin for a few days, streaming to the
Android app BubbleUPnP, and I now have a question regarding how to
configure my server's firewall.

My home server, running LMS is using iptables for it's firewall,
configured using ufw. I try to keep the machine locked down fairly
tight. I have found however that after a reboot, that I have to disable
the firewall for a while, in order for LMS to be successfully notified
of the presence of the UPnP rendering point on my phone. I believe this
is because squeeze2upnp is broadcasting SSDP M-SEARCH packets using
destination port 1900, but the server's source port is chosen randomly,
and changes on every reboot of the server. The rendering point, (in my
case BubbleUPnP,) responds using as it's destination, the server's
source port, not 1900! Since I don't know what that port is going to be,
I have come to the conclusion, possibly incorrectly, that I have to
either drop the firewall for LMS to learn about the rendering point, or
accept all UDP packets that come from my phone, neither solution seems
acceptable.

It might be possible that a different firewall could do some kind of
stateful packet inspection on UDP packets, and take care of this kind of
issue - I don't know. It exceeds my knowledge concerning server
security.

So, question: is it possible to get squeeze2upnp to use a fixed source
UDP port number on every use for sending SSDP M-SEARCH packets, a
configurable port number that I can choose?



*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B&W 804 speakers
*Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite + Material Skin >
ifi USB iSilencer > Audirect Beam DAC > Senn IE 80 earbuds
*Bedroom:* Android Phone + SB Player + Squeeze Ctrl > Bluetooth > Bose
SoundLink Revolve
*Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 7.9.2
*Music:* Personal FLAC, Radio Paradise FLAC, Qobuz, Spotify
------------------------------------------------------------------------
Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to