Access to Dante only from the local Network

Hello friends,

I have Dante installed on my Nethserver and I do not want to allow external access. config setprop dante access private does not succeed. Is there another way to allow access to Dante only from the local network?

Regards

Uwe

You may use a local IP/hostname instead of a public name:

1 Like

Sure, but in this case i get a certificate warning.

In /etc/httpd/conf.d/dante.conf it should be possible with require ip like this:

<Location /fglsdfjdflsdfjfflsdjddflsj/api/>
#    Require all granted
Require ip 192.168.10
    ProxyPass http://127.0.0.1:9292/
    ProxyPassReverse http://127.0.0.1:9292/
</Location>

<Directory /usr/share/dante/beatrice/>
#    Require all granted
Require ip 192.168.10
</Directory>

A custom template is needed to make the changes permanent.

1 Like