openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
215 stars 237 forks source link

Securing openhan ui [reverse proxy] #133

Closed reinethernal closed 1 year ago

reinethernal commented 4 years ago

Made all steps described here, but openhab still accessible by typing externalip:8080 or my.openhab2server.com:8080

bwosborne2 commented 4 years ago

In the file /etc/default/openhab2 set the line OPENHAB_HTTP_ADDRESS=127.0.0.1 assuming your reverse proxy is on the same server as openHAB.

I believe that is mentioned in the community forum.

florian-h05 commented 1 year ago

See https://www.openhab.org/docs/installation/security.html#authentication-and-access-control. This describes how to disable binding to all interfaces, which is what you need to do.