UFW configuration for Roon

Hello,

can someone help me setting up my Ubuntu UFW rules for Roon ?

Can’t figure how to enable broadcast / multicast using UFW as explained in this post for iptables.

Thanks

You can’t do this directly with the UFW command, so setup the rules as described in the referenced post in /etc/ufw/before.rules, which should already include the following line:

-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT
1 Like

So setting these lines :

-A ufw-before-input -s 224.0.0.0/4 -j ACCEPT
-A ufw-before-input -d 224.0.0.0/4 -j ACCEPT
-A ufw-before-input -s 240.0.0.0/5 -j ACCEPT
-A ufw-before-input -m pkttype --pkt-type multicast -j ACCEPT
-A ufw-before-input -m pkttype --pkt-type broadcast -j ACCEPT

-A ufw-before-input -s 192.168.1.0/24 -p udp --dport 9003 -j ACCEPT
-A ufw-before-input -s 192.168.1.0/24 -p tcp --match multiport --dports 9100

in the /etc/ufw/before.rules would be the same ?

Yes, I believe so. To load, type sudo service ufw restart.

1 Like

Ok thanks :+1: