ZeroTier One: Difference between revisions

From NixOS Wiki
m Denperidge moved page Zerotier One to ZeroTier One: Misspelled title
Improved template usage
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[https://github.com/zerotier/ZeroTierOne ZeroTierOne] is the open source ethernet switch for the ZeroTier network. It is a way to connect devices over private networks anywhere in the world. Its done by creating a network and then joining two or more devices to that network.
== Example config ==
== Example config ==
<syntaxhighlight lang="nixos">
<syntaxhighlight lang="nixos">
Line 8: Line 10:
   ];
   ];
};
};
</syntaxhighlight>
</syntaxhighlight>{{warning|This configuration will automatically <u>join</u> networks, but will <u>not leave</u> them automatically. This still has to be done manually: see {{nixos:option|services.zerotierone.joinNetworks}}}}
[[Category:Applications]]
[[Category:Networking]]

Latest revision as of 09:25, 26 June 2024

ZeroTierOne is the open source ethernet switch for the ZeroTier network. It is a way to connect devices over private networks anywhere in the world. Its done by creating a network and then joining two or more devices to that network.

Example config

services.zerotierone = {
  enable = true;
  joinNetworks = [
    "6465f4ee45356976"
    "71e441cc137b93c8"
  ];
};
Warning: This configuration will automatically join networks, but will not leave them automatically. This still has to be done manually: see services.zerotierone.joinNetworks