]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Simplify UFW Stuff
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 24 Jul 2021 08:23:02 +0000 (09:23 +0100)
committerGitHub <noreply@github.com>
Sat, 24 Jul 2021 08:23:02 +0000 (09:23 +0100)
Make is work for any source, IPv4 or IPv6, add in 7000 for AP2

TROUBLESHOOTING.md

index fd500e604c49d85650fefb1d760ef47d618b659b..92d8b96924a4dc77b6cdbcc9b438cb4942b0d3c6 100644 (file)
@@ -90,15 +90,14 @@ You have installed Shairport Sync successfully, the daemon is running, you can s
 You have to allow connections to your Pi from remote devices. To do so, after re-enabling UFW (see last step of the previous section), enter the following commands in shell:
 
 ```
-sudo ufw allow from 192.168.1.1/16 to any port 3689 proto tcp
-sudo ufw allow from 192.168.1.1/16 to any port 5353
-sudo ufw allow from 192.168.1.1/16 to any port 5000:5005 proto tcp
-sudo ufw allow from 192.168.1.1/16 to any port 6000:6005 proto udp
-sudo ufw allow from 192.168.1.1/16 to any port 35000:65535 proto udp
+sudo ufw allow 3689/tcp
+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
 ```
 
-You may have to change the IP addresses range depending on your own local network settings.
-
 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 purpose.
 
 Run your song from your remote device. Enjoy !