ZeroTier One: Difference between revisions

From NixOS Wiki
Documented joinNetworks not automatically leaving networks
Klinger (talk | contribs)
m Explain it and link to repo.
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">

Revision as of 18:25, 25 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"
  ];
};

NOTE: this configuration will automatically join networks, but will not automatically leave networks. This still has to be done manually: see search.nixos.org.