I want so use the dlna server on my network to stream music to rhythmbox on my PC.
After a lot of tinkering I found out, that the firewall from EndeavourOS blocks the dlna server.
When I stop the firewall with:
sudo systemctl stop firewalld.service
rhythmbox finds the dlna server and I can play music.
I have looked for something with dlna in the firewall config GUI but didn’t find any.
What are the right settings, to get dlna running with activated firewall? (the firewall is in standard settings, this is a fresh install of Cassini Neo)
Here is what I had to do to get port 1900 udp open
Open up the firewall app by right clicking on the firewall icon, then ‘Edit firewall settings’
First thing is to set the rules to ‘Permanent’. It usually ‘Runtime’ by default.
I add the IP range of my domain 192.168.0.0/24 I think this binds the entire Public zone to only accept incoming communications from yourlocal LAN and nothing else. You may not want to do that, but in my Local Area Network, there is only one domain (router) @dalto what is your knowledge / opinion on the ‘Sources’ Tab?
Pudge
EDIT:
After consultation, I edited this post to a much better solution.
Instead you either use the existing services or create new services and then just check them.
In this case, there is already a service for udp 1900 called “ssdp” which is what that port is for. All you need to do is click on the zone and check that box.
In general, firewalld makes it so that you don’t have to worry about the details in most cases.
You should almost always being enabling services in whatever zones you use.
I enabled “ssdp” and then removed all the things I did in post # 4.
Did not work.
I then added to the ‘Ports’ Tab 1900 udp. Did not work.
I added to the ‘Protocols’ Tab udp. It worked.
I removed from the ‘Ports’ Tab 1900 udp and it still worked.
In a nut shell, adding to the ‘Protocols’ upd by itself was all that was necessary.
What you said about ‘ssdp’ makes sense, so I was surprised when it didn’t work.
So I looked in the Services Tab and found this.
upnp-client
I enabled this service at it still worked. I then disabled ‘ssdp’ service and disabled ‘minildna’ service and finally removed the entry from the ‘Protocols’ Tab. It still worked.
All tabs are clear of any entries.
Summary, the only thing that needs to be done, is enable ‘upnp-client’ and that is it.
Now for the ultimate test. Reboot and see if it still works.
Pudge
EDIT:
It still works after the re-boot. Now for the ultimate DUH moment.
VLC was desperately trying to give me a BIG hint.
The very Icon one clicks on to launch this is labeled “Universal Plug ‘n’ Play” and this happens to be on a client computer. DUH upnp-client