shairplay
shairplay copied to clipboard
ports required
Would you mind detailing what ports are required? I'm successfully able to get it working with the firewall disabled:
sudo ufw disable
When i add port 5000 to ufw and re-enable i can see the device connecting and some console output from shaireplay
however the music does not play.
Is it possible to have both shairplay working and the firewall enabled?
Port TCP:5000 seems to be used for discovery. For control, timing and data, randomly allocated UDP ports are being used: https://github.com/juhovh/shairplay/blob/ce80e005908f41d0e6fde1c4a21e9cb8ee54007b/src/lib/raop_rtp.c#L182-L223
There currently appears to be no way to fix them to a certain range.
There's a solution over on Mike Brady's support page: https://github.com/mikebrady/shairport-sync/blob/master/TROUBLESHOOTING.md