Ubuntu Server 22.04.1 LTS Arc Firewall Settings

Roon Core Machine

Ubuntu Server 22.04.1 LTS

Description of Issue

If I enable the ufw, Arc App can’t connect (in same network) the core.
After disable ufw, Arc connect fine.

Herr are my firewall rules:

[ 1] 22/tcp ALLOW IN Anywhere
[ 2] 22 ALLOW IN Anywhere
[ 3] 2222 ALLOW IN Anywhere
[ 4] 40229/tcp ALLOW IN Anywhere # roonarc
[ 5] 9003/udp ALLOW IN Anywhere # roon
[ 6] 9330:9339/tcp ALLOW IN Anywhere # roon
[ 7] 8008:8009/tcp ALLOW IN Anywhere # roon
[ 8] 30000:30010/tcp ALLOW IN Anywhere # roon
[ 9] 1194/udp ALLOW IN Anywhere # roon
[10] 135/tcp ALLOW IN 192.168.178.0/24
[11] 139/tcp ALLOW IN 192.168.178.0/24
[12] 445/tcp ALLOW IN 192.168.178.0/24
[13] 137/udp ALLOW IN 192.168.178.0/24
[14] 138/udp ALLOW IN 192.168.178.0/24
[15] 22/tcp (v6) ALLOW IN Anywhere (v6)
[16] 22 (v6) ALLOW IN Anywhere (v6)
[17] 2222 (v6) ALLOW IN Anywhere (v6)
[18] 40229/tcp (v6) ALLOW IN Anywhere (v6) # roonarc
[19] 9003/udp (v6) ALLOW IN Anywhere (v6) # roon
[20] 9330:9339/tcp (v6) ALLOW IN Anywhere (v6) # roon
[21] 8008:8009/tcp (v6) ALLOW IN Anywhere (v6) # roon
[22] 30000:30010/tcp (v6) ALLOW IN Anywhere (v6) # roon
[23] 1194/udp (v6) ALLOW IN Anywhere (v6) # roon

Is my question so special?

Hi, @meldano, sorry for the delay. Could you, please, confirm if I am getting this right:

  • You provided a list of rules, where Roon connection is added to the allowed connections
  • Roon Remotes are able to connect in case the ufw is active and thus the list of allowed connections is used
  • Roon ARC is not able to connect in case ufw is enabled, even though it’s running on the same WiFi network
  • You disable ufw and Roon ARC starts working as expected.

Another question is, when you say “Arc App can’t connect”, what to you mean by that? Core cannot be discovered or you are getting an error when trying to connect to it?

Thanks!


Ivan

Hi Ivan,
thanks for your reply!

  • You a list of rules, where Roon connection is added to the allowed connections
    Yes

  • Roon Remotes are able to connect in case the ufw is active and thus the list of allowed connections is used
    Yes

  • Roon ARC is not able to connect in case ufw is enabled, even though it’s running on the same WiFi network
    Yes

  • You disable ufw and Roon ARC starts working as expected.
    Yes

Got it, thank you for the reply. Could you, please, do the following:

  1. Enable the ufw again
  2. Reproduce this issue with Roon ARC
  3. Provide me a timestamp when that was done
  4. Notify me when it’s done in this thread

After this I am going to request a remote diagnostics report and analyse it.

Thanks!


Ivan

Done

Please note:

  • Arc Remote is not possible because my ISP is Vodafone Germany with 4G Router. Only in the same network where my core is with disabled ufw.

  • Today the core didn’t find my audio devices (Sonos, Naim…) with enabled ufw

Edit: waiting around 5 minutes after boot my roon core machine roon remote show the audio devices. I didn’t play with the ufw it is still enabled.

Edit2: my remote app show only the naim ndx2 device but no sonos.

Thanks

Hi Ivan,
do you have news?

I also tried with no effect:

Hi, @meldano, thank you for providing timestamps.

Based on the diagnostics report, Roon ARC is trying to access your core using port 55000. In your rules if I read them correctly port number is set to 40229. May I suggest using 55000 in your rules?

Thanks!


Ivan

Oh - you’re right.
I will check it sunday.

Daniel

Everything o.k. with the new rule.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.