Post Reply 
[Feature Request] Option for overrding presentationUrl in UPNP Device Service XML
17-07-2023, 18:48 (This post was last modified: 17-07-2023 18:49 by blindfish.)
Post: #5
RE: [Feature Request] Option for overrding presentationUrl in UPNP Device Service XML
Hi,

thank you so much for bearing with me, highly appreciated!

So let me elaborate even a little bit more, since multiple roads lead to Rome, but some might be shorter and more comfortable to travel on Smile
   

This is how the network setup for the reverse proxy and the MinimServer container look like.
I rely on MinimServer's eth1 for SSDP onto the main network, but I don't want the web interface to be accessible on eth1, only on eth0 over the reverse proxy.

So different solutions come to mind:
  • Modifying the presentationURL to use a domain name, which gets routed through the reverse proxy, while using a firewall inside the MinimServer container to block access to the web interface's port from eth1
  • Your proposal, separating ports for the web interface and content serving, while still using a firewall inside the MinimServer container to block access to the web interface's port from eth1
  • Or maybe the most elegant solution: Separating the web interface and content-serving ports, while also allowing to specify the bind address for the web interface. Like this, no firewall is needed and the web interface could bind only to eth0

All solutions that require a firewall are a bit hacky because it requires me to build my own Docker image with iptables added, as well as the NET_ADMIN capability for the container. So if at all possible, I'd like to avoid that.

Frankly, I like the last option the most.
Since the web interface and content seems to be served by the same webserver, I did not dare proposing a solution requiring to split these up, as I deemed that more complicated than overriding the presentation URL. But I'll let you be the judge of that Smile

So to answer your question: Your proposal to allow specifying two ports for web interface and content serving would satisfy my requirement, if adding a property allowing to specify which address the web interface will bind is also possible, that would be ideal.

Kind Regards,
blindfish
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Feature Request] Option for overrding presentationUrl in UPNP Device Service XML - blindfish - 17-07-2023 18:48

Forum Jump:


User(s) browsing this thread: 1 Guest(s)