upnp/dlna routing or natting

Hi there,

My first post here after being using successfully Mikrotik for a year, and very pleased with these affordable and good quality products. the documentation that Mikrotik website provides, it is normally enough for me but for this case I would need your help.

I got a RB750 to divide two different networks (172.16.2.0/24 and 172.16.0.0/24). Every subnet has a different DHCP server and a different DSL router. The thing is that I want to access an upnp/dlna server that is in 172.16.0.254, from the other network (172.16.2.0/24). The server is running linux and the minidlna software (http://minidlna.sourceforge.net/), so I have already done dst-nat for port 1900 (udp), 2869 (tcp) and 8200 (tcp & udp).

But the clients on the 172.16.2.0/24 network do not discover the dlna server in the other subnet, I suppose because multicast is involved in the process and I have to set it also up in the router. I am not very experienced in multicasting and I have a basic knowledge of routing, but I have interest in learning and I have found some possible options to get this thing working:

  1. Routing using IGMP proxy (http://wiki.mikrotik.com/wiki/Manual:Routing/IGMP-Proxy)
  2. Routing multicast (http://wiki.mikrotik.com/wiki/Manual:Routing/Multicast)
  3. Is it possible to do something like multicast natting?

I plan to play HD movies using that link so it should be efficient enough.

Could you give some advice and guidelines?

After reading the web pages above I still do not know how to even try any of my proposed solutions.

Thanks in advance

Hi,

I had a deep look with a linux box as a router/FW, and I ended up with a “not possible” for uPnP/AV (I don’t know for DLNA, never looked at it). Simply because one of the protocol involved (SSDP) is a pure *****. It uses dynamic ports: server try to connect to client on a port included in the client request… a java architect must have designed this ****. Yes, welcome in the 21th century.

So unless someone develop an iptable conntrack helper dedicated to SSDP, you can’t filter SSDP correctly.

Thanks for your reply, elgo.

So, I suppose the only option then is EoIP. Would that work? Because normally you do EoIP between networks, and I just want one host.