I'm trying to figure out how to stream content from an RT-N16 stored on my USB hdd to either an iPhone or Android over 3G (or wifi, but off network). I've enabled DLNA and UPnP and added my file directory as a media directory. I created a folder for the database location in the shell /mnt/Optware/dlnadatabase but nothing seems to get written to that folder. I did see the files.db file in /tmp/var/run/minidlna/.db/.
I haven't tested it on a local network (trying to do all this remotely actually) yet.
I know once I verify that the server is working I'll need to open ports on NAT, as well as copy the .conf file to a .alt file and change the network interface described here. Which ports will I need to open? Also, is there a way to secure access from the outside?
For a DLNA player, I'm trying PlugPlayer and it requests an XML file. Does MiniDLNA generate an xml file? I couldn't find any documentation on this. If not, should I try another player, or is there something that generates an xml file based on the files.db?
Thanks for any help you can provide. I know there's several segments that I'm unclear on. If there's another or better option than DLNA, please share!