org.openhab.ui.habpanel icon indicating copy to clipboard operation
org.openhab.ui.habpanel copied to clipboard

[Feature Request] Accessing local addresses from external location

Open kirantpatil opened this issue 7 years ago • 2 comments

Hi,

Right now there is no way to access local instance from external location from habpanel. Please add support for it.

Reference from openhab forum, https://community.openhab.org/t/accessing-local-addresses-from-external-location/18571

Jetty proxy servlet implementaion, https://github.com/eclipse/smarthome/pull/2753

kirantpatil avatar Oct 10 '17 11:10 kirantpatil

AFAIK the proxy servlet still can't serve resources not referenced in a sitemap.

i.e. the whitelist-based authorization mentioned in https://github.com/eclipse/smarthome/pull/2753 is still not implemented in ESH:

A follow-on PR will address which URLs are allowed to be proxied by maintaining a whitelist: [...] If the target url= host:port is on a whitelist configured for the servlet, it will be proxied. If not, the servlet will respond with a 302 redirect to the given URL.

@watou can you confirm? Thanks!

ghys avatar Oct 10 '17 11:10 ghys

I think this FR is important as i run into the same issue as well.

lsafelix75 avatar Oct 16 '17 14:10 lsafelix75