Linux Lite Forums

Software - Support => Installing Software => Topic started by: Yoru3 on March 01, 2019, 07:25:27 AM

Title: Firewall (Gufw) settings
Post by: Yoru3 on March 01, 2019, 07:25:27 AM
Previously I've had no problem installing and using miniDLNA on my local network, when I was using an old 32 bit notebook machine, several LL versions ago.
However, I've now tried to make miniDLNA a server on my main 64bit LL 4.2 machine, and I'm having problems.
I installed it from Synaptics, and it appears to be running as a server.
Code: [Select]
sudo service --status-allI've also got sqlite3 installed, and after the /etc/minidlna.conf configuration has done the usual
Code: [Select]
sudo service minidlna restart
Code: [Select]
sudo service minidlna force-reloadWhich has created the database, where I told it to, although the log does list some warning. Which I might need to get back to.
However, my client/controller machine (notepad) cannot see the server, and only sees the renderers.
Finally I realised that this is probably due to the server firewall, which is now by default set to ON.
In order to allow miniDLNA to work, I believe I have to open the TCP port 8200, and the UDP port 1900.
Unfortunately there doesn't seem to be a tutorial on the firewall yet (hint)

So, can anyone help on exactly how to open those port up, and ideally only to the local network.
Many thanks in advance.
Title: Re: Firewall (Gufw) settings
Post by: Yoru3 on March 01, 2019, 03:02:42 PM
It seems I tend to end up answering my own questions on this forum.
Anyway, it turns out that configuring the firewall is really easy, as its name implies UFW (Uncomplicated Firewall), with G being the graphical interface version.
This is because it has many many preconfigured settings., including one for miniDLNA. The firewall now being available in the LL control panel.

After selecting the +, to add a rule, one simply has to select the application from a very long list.
Initially, I thought that was still not enough, but after restarting the server machine, and the Android based tablet controller, the DLNA server was discovered.
I can now render to the tablet, the TV or one of 4 digital radios, or multi-render to all of them, as I had been able to do previously.
I guess I'm gradually getting more confidence of using the Linux machine.

 
Title: Re: Firewall (Gufw) settings
Post by: elelme on March 04, 2019, 12:26:16 PM
It seems I tend to end up answering my own questions on this forum.
Anyway, it turns out that configuring the firewall is really easy, as its name implies UFW (Uncomplicated Firewall), with G being the graphical interface version.
This is because it has many many preconfigured settings., including one for miniDLNA. The firewall now being available in the LL control panel.

After selecting the +, to add a rule, one simply has to select the application from a very long list.
Initially, I thought that was still not enough, but after restarting the server machine, and the Android based tablet controller, the DLNA server was discovered.
I can now render to the tablet, the TV or one of 4 digital radios, or multi-render to all of them, as I had been able to do previously.
I guess I'm gradually getting more confidence of using the Linux machine.

 


This happens more than you think, Yoru3! I have begun several questions here, only to figure out the answer
while trying to express the problem. Keep at it!