-i
command-line option and network_interface
configuration option used to bind to a specific IP address does not apply to the HTTP server. Bug reported in 2017 to upstream. The webserver remains accessible on all interfaces, potentially creating a security problem if running on a publicly accessible host./etc/minidlna.conf
. Set the following necessary settings:user
line in /etc/minidlna.conf
. If you change MiniDLNA user, you should also change the db_dir
and log_dir
options to directories that are writeable by that user.minidlna.service
using systemd./etc/minidlna.conf
to monitor changes thus allowing MiniDLNA to update Media_DB in real time. When MiniDLNA is run as a regular user, it does not have the ability to change the kernel's inotify limits. If default number of inotify watches is non-sufficient to have MiniDLNA monitor all your media folders, increase inotify watches through sysctl
(100000 should be enough for most uses):/etc/sysctl.d/90-inotify.conf
killall minidlnad
.Ctrl+C
to exit it.~/.bash_profile
.firewall.conf
and opening the ports by doing:ProtectHome=on
. If you intend to share files that reside within the /home/
file system you may want to lessen that restriction.You can achieve this by updating the systemd unit override file./etc/systemd/system/multicast_snooping.service
with the following content: