From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 24 Jul 2021 08:23:02 +0000 (+0100) Subject: Simplify UFW Stuff X-Git-Tag: 4.1-dev~4^2~44^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99f078d478546d87ea46a81da910ab9a136cfe42;p=thirdparty%2Fshairport-sync.git Simplify UFW Stuff Make is work for any source, IPv4 or IPv6, add in 7000 for AP2 --- 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 !