Install ZeroTier on Kali Linux

Kali Linux is not one of the officially supported distros by the ZeroTier installer script, so if you just try to use it you will get an error message along the lines of:

FAILED: unrecognized or ancient distribution: kali-rolling

Kali Linux is based on Debian testing, so we can just “trick” the ZeroTier install script into thinking it’s Debian and it installs just fine:

# save /etc/debian-version
# (which will be something like kali-rolling)
DV_SAVE=$(cat /etc/debian_version)
# pretend we're Debian buster
echo buster | sudo tee /etc/debian_version >/dev/null
# follow ZeroTier install instructions from:
# https://www.zerotier.com/download/
# for example, if you don't care about checking gpg signatures:
curl -s https://install.zerotier.com | sudo bash
# restore /etc/debian-version
echo $DV_SAVE | sudo tee /etc/debian_version >/dev/null

--

--

--

Random rumblings about #InfoSec. The opinions expressed here are my own and not necessarily those of my employer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Add Rich Message Button Response in Amazon Lex Bot

traceroute

Benefits of Using a Gantt Chart in Project Management

Benefits of Using a Gantt Chart in Project Management

Logs on Linux: Reading local logs — Cheat sheet Linux

Automation Script for Git Flow on PowerShell

DevOps Who Does What

The Disturbing Elitism In Software Development

Real-Time Scenarios — Learning Scrum (#1)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Airman

Airman

Random rumblings about #InfoSec. The opinions expressed here are my own and not necessarily those of my employer.

More from Medium

Cracking Linux password has a lot to learn

Shell

Installing HashCat on Linux w/ Nvidia RTX dedicated Driver

Linux file system