Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to setup a DLNA service to share my media from my PC to my laptop and occasionally my phone and tablet. After a lot of messing around I found mini-dlna which works well, the problem is, everyone on my network can see my shares and I don't want this. Does anyone have a way of securing it? I thought maybe using iptables but I don't have any experience with it and I don't want to setup a whole load of firewall exceptions for everything that I have running on the PC such as ssh and web servers etc, I'd want to just restrict DLNA access. I use DHCP reservations for my devices.

Or is DLNA the wrong way to do it? Is there a better solution? I don't care about windows clients, just Linux and Android. I want to stream audio and video.

Also, if DLNA is the best way, can anyone recommend a Linux client? I can get clients in Android streaming fine, it's just the security issue, I can't find a working client in Linux though, VLC doesn't work, it sees my server but clicking it, double clicking it, adding to playlist doesn't do anything.

share|improve this question

For the first part of your question, you might want to take a look at Serviio. In the payed version, it permits you to set sources as "restricted" (the free version comes with a 14 day trial). More details can be found in my answer to minidlna and samsung tv file format doesn't support.

For the second part, take a look at UPNP / DLNA (client) player recommendations?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.