anacrolix / dms

A UPnP DLNA Digital Media Server that includes basic video transcoding. Tested on a Panasonic Viera television, several Android UPnP apps, and Chromecast.
BSD 3-Clause "New" or "Revised" License
646 stars 96 forks source link

Servers across the networks? #153

Open mesb1 opened 1 month ago

mesb1 commented 1 month ago

Hi.

Is it possible to have such functionality:

Let's say we have a network1 with a dms1 and few dlna servers that works only for this network as upnp declares. Can we have some additional dms2 installation on network2 that connected via vpn for network1 but just retransmitting all the data from network1 related to dms1 and all other dlna servers from that network?

anacrolix commented 4 weeks ago

Yes, I think it would require some fancy network interface configuration.

In particular for SSDP you would need to forward and possible translate fields in the messages similar to how a NAT works. You might also have to NAT the following queries from network2. So essentially an SSDP NAT I guess, the mappings it generates would allow it to act as a proxy into network1.

The easier answer is obviously to have everyone in network1 and 2 be in a VPN together.