]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update TROUBLESHOOTING.md
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 9 Oct 2022 07:29:57 +0000 (08:29 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Oct 2022 07:29:57 +0000 (08:29 +0100)
TROUBLESHOOTING.md

index d6436fdfd021366d5035e3e9fc603d3c20eaa7ce..b9a6413880f7886f080bf53c0c9f77ba3e65a396 100644 (file)
@@ -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.