There is a router doing NAT between my MediaTomb server and my media player. To render a media, the player has to connect to a URL MediaTomb gives. This URL contains the server IP which is a private IP, unknown to my player which knows only my router IP.
I made a small patch that adds a configuration option "virtualIp". This value is then used to replace the real ip in all the URLs MediaTomb announce.
Uhm... and how exactly is your player finding the server? UPnP is not designed to work over a NAT, the SSDP announcements will not work. What player are you using and how? I'm a bit confused here :)
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).