mikejac / node-red-contrib-google-smarthome

A collection of Node-RED nodes to control your smart home devices via Google Assistant.
GNU General Public License v3.0
116 stars 36 forks source link

Question about the setup instructions #464

Closed bartbutenaers closed 7 months ago

bartbutenaers commented 8 months ago

Hi guys,

I have a question about the setup instructions, especially this part:

You need to be able to forward incoming traffic from the internet to a specific port on your host. This may be difficult if your ISP uses carrier-grade NAT, if you are on a shared network (e.g. in dormitories) or if you can'tconfigure port forwarding on your router. In this case you can use services like ZeroTier or Cloudflare Tunnel.

We had last week a discussion on Discourse about using ZeroTier. But I am stuck with port 3001, as I explained on the ZeroTier forum.

I am now wondering if you find a way to stop port forwarding of port 3001, and use ZeroTier instead?

Thanks!!! Bart

Caprico85 commented 8 months ago

Hi Bart!

Sorry, that was my mistake. Unfortunately you cannot use Zerotier.

There have been reports HERE that Cloudflare Tunnel can be used. When I wrote the docs, I wanted to include at least one alternative to CloudFlare and after some research, I found ZeroTier.

I admit that I added it to the docs without testing it. Now, after some more research now I realized that I was wrong. It seems that ZeroTier can only be used to connect between two private networks. But ZeroTier doesn't provide a public, internet-facing endpoint to a service like Cloudflare does.

So, in the end, you still need to open up a port. Either on your own machine or via tunneling on somebody else's machine.

I have now removed ZeroTier from the docs.

bartbutenaers commented 7 months ago

Hi @Caprico85,

Damn I thought you had find somewhere in the ZeroTier docs a way to solve this. Ok then I will need to have a look at Cloudfare. What a pitty, because ZeroTier was so simple... Thanks for the fast response!!

Bart