Traditional VPNs funnel all traffic through their network interface. Some of the services discussed can add new clients, easily, but require the credentials to be manually distributed. Provisioning and scaling differ here, deliberately. This tells your router to forward all incoming traffic to your Homelab, which requires you to ensure that it’s hardened against malicious web crawlers, attackers, and the like. If you prefer Port Forwarding, I strongly advise against using the “DMZ” setting. and forwarding them to the correct device on your network. You can find a swath of Port Forwarding tutorials online, but it effectively boils down to using your network’s router to open up ports 80/443/etc.
query-zt-update-hosts.py -h to learn how to do that. If you’d like to see a dry-run of what we’re modifying, feel free to run.
If you’re on a server and want to download it with curl, here’s the command: $ curl -fsSL \ If you head over to this GitHub Gist, you’ll be able to download my script that updates your /etc/hosts with ZeroTier Peers. Store this token in a safe, preferably encrypted, place. (Keeping My ZeroTier open on the network wouldīe useful, here.) Updating /etc/hosts to Allow for Name-based Lookups The specific command for this: # Note: You shouldn't need `sudo` on MacOSīe sure that each of your devices can see each other by running ping -c2 onĮach, using the of each peer. Join your ZeroTier Network by using the 16-digit hexidecimal listed on your network’s Install ZeroTier One for whatever platforms you need. If you run into any hiccups along the way, I recommend consulting the ZeroTier Knowledge Base along with their Community (requires a ZeroTier account). Once installed, I recommend following the Arch Wiki’s Configuration guide to get your ZeroTier Network up and running on all your *nix devices.
ZeroTier One is available on Windows, Android, iOS, most major Linux distributions and MacOS (I recommend using brew cask install zerotier-one). Setting Up ZeroTierĮnsure you’ve installed ZeroTier One on all the devices you want in your Mesh Network. It simply establishes an encrypted peer-to-peer network allowing you to access all your devices (via command-line) easily. To be clear, ZeroTier won’t replace any VPN service(s) you might use. Once we have ZeroTier setup, I’ll walk you through getting that traffic to tunnel to your Homelab. 5Īs a result, let’s focus on using ZeroTier.