Zerotier Host Server at Container Docker in Instance GCP.

Anang Mansjur
Aug 30, 2022

Prepare the requirement first.

  1. Instance GCP
  2. Dockcer.ce or Docker.io
  3. Repository Zerotier GITHUB

Create an Instance GCP

Region follow your country.
Use Debian 11 for Operating System
IPv4 Single, Ephemeral & Network Tier Regional
Klik Create for buil Instance.
klik SSH for SSH Browser Instance Zerotier

Install Dokcer on Instance

# sudo apt update
# sudo apt install docker.io and type Y.
# sudo systemctl status docker (Active Running Docker)

Install Zerotier Host

Install Wget for get the Zerotier Repo.
Download Zerotier from Github.
Runnig zerotier on Docker Container
Check Zerotier Container on Docker
curl IP Local & IP Public Instance with port GUI Zerotier 3443
Curl IP Local & IP Public with port GUI Zerotier 3443
Access https://ip-public:3443
open file passwd replace with text bellow

{“admin”:{“name”:”admin”,”pass_set”:false,”hash”:”$argon2i$v=19$m=4096,t=3,p=1$/VYxjWHBzbkuCEO6Hh0AUw$nJaTJtth57vCAyYvg+UbtnscilR0UcE02AfLOhERe3A”}}

login username : admin password : password
Set new password
Create Network Tunneling Zerotier
Network ID Anang Mansjur Networks : 0dafa9f7f5b60bfc

Client Join to Zerotier Networks

install zerotier client
Joint network with command above (0dafa9f7f5b60bfc is network id)
A few Commands for check the zerotier.
Check Dashboard Member Networks Zerotier
10.131.246.46 that ip address valid with ip address on dashboard Networks Zerotier

Find me at Linkedin

Anang Mansjur | LinkedIn

--

--