Code:
sudo apt install minidlna
Edit /etc/minidlna.conf with "sudo nano /etc/minidlna.conf" and set the "V=" line to point to the directory where the video files are stored.
Code:
sudo systemctl start minidlna
sudo systemctl enable minidlna
Wait a bit while minidlna indexes the files. This can take awhile if there are a lot of them. You can follow the process with
Code:
tail -f /var/log/minidlna.log
Now you can see the files from any DLNA-compliant device. I use BubbleUPnP on my Android phone with MXPlayer to view the files. My LG TV has a DLNA client built in; so does my Roku device. On Linux or Android, you can use VLC which has a built-in DLNA client. Don't know anything about iThings.
For access from outside you can probably forward a port back through your router to the DLNA server's port 8200 where minidlna is listening. You'll want to consider the security implications of this first. At a minimum don't use port 8200 on the router. Choose some arbitrary number between 10000 and 60000 and forward that back to the server's port 8200.
Bookmarks