# Zerotier, cross platform virtual networking layer (including rpis)

**URL:** <https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309>\
**Category:** General\
**Created:** [20 May 2019 06:53 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309 "2019-05-20T06:53:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nodepi](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nodepi](https://discourse.nodered.org/u/nodepi)\
**Post date:** [20 May 2019 06:53 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/1 "2019-05-20T06:53:39Z")

</div>

[https://zerotier.com/](https://zerotier.com/), I have been testing this out for about a week now, even though it has been around for years, Last week I found it here [https://www.youtube.com/watch?v=Bl\_Vau8wtgc](https://www.youtube.com/watch?v=Bl_Vau8wtgc).

I am extremely happy with it, central control of permissions is so handy. My question is a networking one, Is it possible to direct node red to use the zerotier ip addr, but not the default without dire consequences for node reds operation

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 May 2019 08:00 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/2 "2019-05-20T08:00:23Z")

</div>

why not try it and tell us ?

---

<div class="post-metadata">

**Author:** ![nodepi](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nodepi](https://discourse.nodered.org/u/nodepi)\
**Post date:** [20 May 2019 08:20 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/3 "2019-05-20T08:20:26Z")

</div>

Ok, I may not have been clear,

I am using it, and am happy with it, so much so I only want to use the zerotier address.

There isn't a place that I have found that has a spot to change it, tried changing /.node-red/settings.js, with negative results, maybe I am doing it wrong. Does anyone know if it is possible

Have been working on a plan b using iptables, but no joy yet

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 May 2019 08:37 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/4 "2019-05-20T08:37:47Z")

</div>

you mean you want to bind Node-RED only to that address ?  
Then yes the uiHost setting in settings.js should let you do that.  
(Obviously that would only affect Node-RED - the machine itself would still be accessible via other IP addresses it has exposed.

---

<div class="post-metadata">

**Author:** ![nodepi](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nodepi](https://discourse.nodered.org/u/nodepi)\
**Post date:** [20 May 2019 08:56 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/5 "2019-05-20T08:56:02Z")

</div>

Ok something strange happened before, uncommenting uiHost and pasting my ip addr in there didn't work for me 6 hrs ago, the flow didn't even work.

Anyway, is working fine now, thanks

---

<div class="post-metadata">

**Author:** ![davidparker](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@davidparker](https://discourse.nodered.org/u/davidparker)\
**Post date:** [1 November 2019 10:14 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/6 "2019-11-01T10:14:45Z")

</div>

I'm new to the ZEROTIER party and just wondered how you (and others in here) are getting on. All I have managed to do so far is create a 3 node network including an iPhone, MacBook and a Pi running node-red. Ultimately want to see a remote node-red dashboard WITHOUT opening up any ports.

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [3 November 2019 22:18 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/7 "2019-11-03T22:18:08Z")

</div>

Yep i have been using it for a while and slowly replacing my OpenVPN solution - works well

About to move into using it as a gateway on my network (rather than installing the ZeroTier client on each machine) - will report back how that goes once it is up and running

Craig

---

<div class="post-metadata">

**Author:** ![davidparker](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@davidparker](https://discourse.nodered.org/u/davidparker)\
**Post date:** [4 November 2019 21:28 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/8 "2019-11-04T21:28:21Z")

</div>

Have you worked out how to remotely connect to the Dashboard?

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [5 November 2019 00:12 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/9 "2019-11-05T00:12:38Z")

</div>

Yep - i installed the zerotier client on my Ubuntu VM that hosts NR, then started the Zerotier client, went to my dashboard, authorized the node and then attached to the virtual IP address given. I did this from one of the other remote nodes that is not on my physical network - no problem and nothing special to do.

I attached to both the admin and user dashboard.

unless you have enabled the UIHost entry in settings.js you should not have any issues .

Essentially the Zerotier config looks like another network interface to the Operating system.

So as long as you do not have restrictive firewall settings or the UIHost entry set you should be OK

Craig

---

<div class="post-metadata">

**Author:** ![davidparker](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@davidparker](https://discourse.nodered.org/u/davidparker)\
**Post date:** [5 November 2019 08:16 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/10 "2019-11-05T08:16:00Z")

</div>

Hi Craig, thank you and everything is now working like a dream.

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [6 November 2019 04:45 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/11 "2019-11-06T04:45:02Z")

</div>

Can you "close the loop" by letting everyone know what changes you had to make or what the solution was - this will better help the next person

Craig

---

<div class="post-metadata">

**Author:** ![davidparker](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@davidparker](https://discourse.nodered.org/u/davidparker)\
**Post date:** [6 November 2019 08:52 UTC](https://discourse.nodered.org/t/zerotier-cross-platform-virtual-networking-layer-including-rpis/11309/12 "2019-11-06T08:52:42Z")

</div>

Sure - I have multiple controllers and I had set up ZEROTIER on one of them and then proceeded to (mistakenly) connect to the (blank) dashboard on another. If it had not been blank, I would have realised straight away what I had done. So I was being an idiot! ZEROTIER just works and is highly recommended by me.
