hassio-addons / addon-unifi

UniFi Network Application - Home Assistant Community Add-ons
https://addons.community
MIT License
276 stars 137 forks source link

How to run the add-on from cloudflare ? #468

Closed RobertWojtowicz closed 10 months ago

RobertWojtowicz commented 10 months ago

Hi,

I use the cloudflare addon to access HA from the Internet. Is there any way to push traffic on port 8443 through cloudflare bearing in mind that the standard port 8123 for HA is already configured?

BR, Robert

frenck commented 10 months ago

I guess... configure your cloudflare?

I'm not really sure what this issue has to do with the add-on?

../Frenck

RobertWojtowicz commented 10 months ago

@frenck

Addon cloudflare works so that it sets up a ssl tunnel on port HA. When using the plugin on port 8443, there is no way to get to this UI. Question if you have any idea, if not I'm closing this.

BR, Robert

frenck commented 10 months ago

You are asking the question on the wrong end. Cloudflare could do it, your question is about the Cloudflare add-on, which is not this repository.

(although, honestly, this is not something you should ever expose to the outside world...)

../Frenck

RobertWojtowicz commented 10 months ago

You're right it shouldn't be exposed to the internet, but at my place it's heavily restricted on WAF cloudflare, but I'll deal with it otherwise thanks for the info.