From 99f078d478546d87ea46a81da910ab9a136cfe42 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 24 Jul 2021 09:23:02 +0100 Subject: [PATCH 1/2] Simplify UFW Stuff Make is work for any source, IPv4 or IPv6, add in 7000 for AP2 --- TROUBLESHOOTING.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index fd500e60..92d8b969 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -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 ! From 8f54828fd707b2bad28b8365009976994061a2c2 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 24 Jul 2021 09:28:12 +0100 Subject: [PATCH 2/2] Update TROUBLESHOOTING.md --- TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 92d8b969..1cdac7b8 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -98,7 +98,7 @@ sudo ufw allow 6000:6009/udp sudo ufw allow 35000:65535/udp ``` -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. +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. Run your song from your remote device. Enjoy !