Upnp Server - adding security

Hi, I’m wondering if there is the option to add some security to the in-built Kodi Upnp Server? For example for some dlna server I can limit the access to certain IP addresses. Is this possible with OSMC/Kodi by changing some config files? Because these options are not available in the Upnp Kodi settings.

If you’re familiar with SSH, you could do it using iptables.

Thanks for this tip. This seems to be an feasible option. I will check.