old101 / zerotier-edge

A lightweight ZeroTier Controller Web UI for a self-hosted ZeroTier network controller that deployed at your edge.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zerotier-Edge

A ZeroTier Controller Web UI for a self-hosted ZeroTier network controller that deployed at your edge.

Features

  • Convenient, launched with a single command.
  • Lightweight, less than 5 MB.
  • No docker, just a single binary.
  • No database, storing all configurations in a directory.

Quick start

  1. Install Zerotier-Edge.

    Download Zerotier-Edge from here then unzip it.

  2. Launch service

    ./zerotier-edge

    Note: ./zerotier-edge --help will show the help of command.

  3. Access Web UI to manage your controller.

    1. Open http://127.0.0.1:9394/ on your browser.
    2. Login with token (How to get your token?)
    3. Manage your controller.
  4. Configure remote access (optional)

    It is recommended to enable https in Nginx and then proxy our service.

    location /zerotier-edge/ {
         proxy_pass http://127.0.0.1:9394/;
    }

Building

To build Zerotier-Edge from source, ensure that you have Rust installed. Then, follow these steps in your terminal:

  1. Clone the repository:

    git clone https://github.com/mokeyish/zerotier-edge.git
    cd zerotier-edge
  2. Build web UI:

    pnpm install
    pnpm run build
  3. Compile the binary:

    cargo build --release
  4. Display available options:

    ./target/release/zerotier-edge --help
  5. Launch the application:

    ./target/release/zerotier-edge

Similar projects

Note:I don't want to use heavyweight deployment based on Docker/Nodejs. So I created this project.

License

This project is licensed under GPL-3.0 license (LICENSE-GPL-3.0 or https://opensource.org/licenses/GPL-3.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the GPL-3.0 license, shall be licensed as above, without any additional terms or conditions.

About

A lightweight ZeroTier Controller Web UI for a self-hosted ZeroTier network controller that deployed at your edge.

License:GNU General Public License v3.0


Languages

Language:TypeScript 49.9%Language:Rust 26.8%Language:JavaScript 22.9%Language:HTML 0.3%Language:CSS 0.1%