Zerotier: Difference between revisions

From AbahDoku Wiki
Line 23: Line 23:
Pastikan Zerotier sudah aktif/running :
Pastikan Zerotier sudah aktif/running :
  systemctl status zerotier-one
  systemctl status zerotier-one
Jalankan file ztnetworks.bash di dalam folder bash_cli_zt.git menggunakan command bash :
bash ztnetworks.bash
akan tempil menu sebagai berikut :
################################
  ZeroTier Manager Controller 
################################
1. Create a new ZT Network on this controller
2. Delete a ZT Network on this controller
3. Peer Management
4. Edit Flow Rules for Network
5. List all networks
6. Manage Routes
7. Update Network Description
8. Update Network IP Assignment
[A]dvanced Options (edit /var/lib/zerotier/local.conf
[E]xit
Please select a numeric value:


==Referensi==
==Referensi==

Revision as of 00:54, 8 August 2023

Install

curl -s https://install.zerotier.com | bash

Join Network

zerotier-cli join "network_id"

Network Controller

Versi Docker

Versi Linux server

Download bash_cli_zt.git menggunalan git clone :

git clone https://github.com/thedunston/bash_cli_zt.git
cd bash_cli_zt.git

Install curl, jq, ipcalc :

apt install curl
apt install jq
apt install ipcalc

Aktifkan zerotier-one jika belum diaktifkan :

systemctl enable zerotier-one
systemctl start zerotier-one

Pastikan Zerotier sudah aktif/running :

systemctl status zerotier-one

Jalankan file ztnetworks.bash di dalam folder bash_cli_zt.git menggunakan command bash :

bash ztnetworks.bash

akan tempil menu sebagai berikut :

################################
 ZeroTier Manager Controller   
################################
1. Create a new ZT Network on this controller
2. Delete a ZT Network on this controller
3. Peer Management
4. Edit Flow Rules for Network
5. List all networks
6. Manage Routes
7. Update Network Description
8. Update Network IP Assignment
[A]dvanced Options (edit /var/lib/zerotier/local.conf
[E]xit
Please select a numeric value:

Referensi