From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 9 Oct 2022 07:29:57 +0000 (+0100) Subject: Update TROUBLESHOOTING.md X-Git-Tag: 4.1-rc2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d54f6fe04576b96fd2915d3f357b34f9662a6dc5;p=thirdparty%2Fshairport-sync.git Update TROUBLESHOOTING.md --- diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index d6436fdf..b9a64138 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -116,6 +116,16 @@ You have installed Shairport Sync successfully, the daemon is running, you can s You have to allow connections to your Shairport Sync device from remote devices. To do so, after re-enabling UFW (see last step of the previous section), enter the following commands in shell: +**Classic AirPlay:** +``` +sudo ufw allow 3689/tcp +sudo ufw allow 5353 +sudo ufw allow 5000/tcp +sudo ufw allow 6000:6009/udp +sudo ufw allow 32768:60999/udp +``` + +**AirPlay 2:** ``` sudo ufw allow 319:320/udp sudo ufw allow 3689/tcp @@ -123,9 +133,11 @@ sudo ufw allow 5353 sudo ufw allow 5000/tcp sudo ufw allow 7000/tcp sudo ufw allow 6000:6009/udp -sudo ufw allow 35000:65535/udp +sudo ufw allow 32768:60999/udp +sudo ufw allow 32768:60999/tcp ``` -Ports 319 and 320 need to be opened for AirPlay 2 only. + +The range `32768:60999` represents the [ephemeral port range](https://en.m.wikipedia.org/wiki/Ephemeral_port) which seems to be standardised on those values. You can check UFW config by typing `sudo ufw status` in shell. Please make sure that UFW is active, especially if you have deactivated it previously for testing purposes. Check out the [ufw man pages](http://manpages.ubuntu.com/manpages/man8/ufw.8.html) for more.