![]() A IGMP -d 224.0.0.1/32 -m comment -comment "igmp membership queries, upnp/dlna" -j ACCEPT A TCP -m tcp -dport 8200 -m comment -comment minidlna -j ACCEPT An overall configuration for iptables may therefore look like the following snippet, assuming there are separate chains which handel TCP, UDP and IGMP. In addition to 1900/udp and 8200/tcp, minidlna may also require allowing muliticasts. For example, this can be done with arno's iptables firewall by editing nf and opening the ports by doing: If using a firewall the the ssdp (1900/udp) and trivnet1 (8200/tcp) ports will need to be opened. Other aspects and MiniDLNA limitations may need to be considered beforehand to ensure satisfaction from its performance. To autostart it at login, add the previous line to ~/.bash_profile. $ minidlnad -f /home/$USER/.config/minidlna/nf -P /home/$USER/.config/minidlna/minidlna.pid You can now start minidlna with the following command: $ install -Dm644 /etc/nf ~/.config/minidlna/nfĬonfiguring should be as above, specifically: This can be useful if you want to share media but do not have administrator access to the machine.Ĭreate the necessary files and directories locally and edit the configuration: Instead, run journalctl -u rvice as root to view the logs.Ĭopy the /usr/lib/tmpfiles.d/nf file to /etc/tmpfiles.d/nf and replace root with your own user and group:Īlternatively to a system service, you can run minidlna manually.
0 Comments
Leave a Reply. |