DOWNLOAD DAN INSTAL CLOUDFLARED
Download Cloudflared
Bash
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
Install
Terminal
sudo dpkg -i cloudflared.deb
Cek versi Cloudflared
Command
cloudflared --version
Seting Tunneling Instans
(Cloudflared/ Zero Trust akan terjalan di latar belakang)
(Cloudflared/ Zero Trust akan terjalan di latar belakang)
Bash
nohup cloudflared tunnel --url http://localhost:80 > tunnel.log 2>&1 &
Cek link website untuk diakses lewat browser
Terminal
cat tunnel.log
Contoh Output Berhasil
Your quick Tunnel has been created! Visit it at:
Silahkan akses link ini di browser anda
https://most-inquiry-pepper-round.trycloudflare.comSilahkan akses link ini di browser anda
Shutdown Cloudflared
Contoh Output:
Cari ID proses (PID) dari cloudflared yang sedang berjalan:
Terminal
ps aux | grep cloudflared
root 1339 0.2 0.9 1261888 36756 pts/0 Sl 08:09 0:00 cloudflared tunnel --url http://localhost:80
root 1481 0.0 0.0 6340 2176 pts/0 S+ 08:14 0:00 grep cloudflared
Gunakan perintah kill diikuti oleh nomor PID (angka berwarna oranye di atas):
Command
kill 1339