Getting Started
ZeroTier Remote Access Guide
This guide explains how to connect to the NFE Raspberry Pi from anywhere in the world using ZeroTier. It covers both SSH access and troubleshooting common issues.
Table of Contents
Prerequisites
Before starting, you need:
- A Mac or Windows laptop
Network Information
Network ID:** `2873fd00f2d70904`
2873fd00f2d70904
my-first-network`10.135.127.86`nfetestpi2
Installing ZeroTier on Your Computer
Mac:
Windows:
- Download ZeroTier from https://www.zerotier.com/download/
- Install and launch it
- ZeroTier icon will appear in the system tray
Joining the Network
Method 1: Using the ZeroTier Menu (Mac - Recommended)
- Click the ZeroTier icon in your menu bar
- You'll see "My Address:" with your device ID
- Click on the network ID
`2873fd00f2d70904`2873fd00f2d70904if it's already listed - Or select "Join New Network..." and enter:
`2873fd00f2d70904` - The status will show "REQUESTING_CONFIGURATION"
2873fd00f2d70904
Method 2: Using Command Line
Mac/Linux:
sudo zerotier-cli join 2873fd00f2d70904Windows (run as Administrator):
zerotier-cli join 2873fd00f2d70904Authorization
After joining, you need to be authorized:
- Contact the network administrator
- Provide them with your device's MAC address or Device ID
- They will authorize your device at https://my.zerotier.com
- Once authorized, your device will receive an IP address like
`10.135.127.xxx`
Verify Connection
Mac/Linux:
sudo zerotier-cli listnetworksYou should see:
200 listnetworks 2873fd00f2d70904 my-first-network ... OK PRIVATE ... 10.135.127.xxx/24The status should show **OK**OK and you should have an IP address assigned.
SSH Access to Raspberry Pi
Once connected to the ZeroTier network, you can SSH to the Raspberry Pi:
ssh nfetestpi2@10.135.127.86Enter the password when prompted.
Note:** If you get a password prompt but it keeps failing, try using the `- flag for verbose output:v`v
ssh -v nfetestpi2@10.135.127.86Optional: Set Up SSH Keys (Recommended)
To avoid entering passwords every time:
- Generate SSH key on your computer (if you don't have one):
ssh-keygen -t ed25519 -C "your-email@example.com"- Copy your public key:
cat ~/.ssh/id_ed25519.pub- Add it to the Pi's authorized keys (via SSH or Raspberry Pi Connect):
mkdir -p ~/.ssh- Now you can SSH without a password:
ssh nfetestpi2@10.135.127.86Troubleshooting
Issue: ZeroTier shows "REQUESTING_CONFIGURATION"
Cause:** Your device hasn't been authorized on the network yet.
Solution:
- Go to https://my.zerotier.com
- Log in and navigate to network
`2873fd00f2d70904` - Click "Member Devices" tab
- Find your device and check the "Auth" checkbox
2873fd00f2d70904
Issue: ZeroTier shows "OFFLINE"
Cause:** ZeroTier service isn't running properly.
Solution for Mac:**
# Restart ZeroTier serviceYou should see:
200 info <device-id> 1.16.0 ONLINESolution for Windows:**
- Restart the ZeroTier service from Services (services.msc)
Issue: Can't ping or SSH to Raspberry Pi
Symptoms:
ping 10.135.127.86Solutions:
- Check if ZeroTier is running on both devices:
**
sudo zerotier-cli info- Verify both devices are on the same network:
**
sudo zerotier-cli listnetworks-
**Try changing WiFi networks:
** -
**Check for RELAY connection:
** - Restarting ZeroTier on both devices
- Leaving and rejoining the network
- Changing WiFi networks
- Restart ZeroTier on both devices:
**
sudo zerotier-cli peersIf the Pi shows as "RELAY" instead of "DIRECT", there's a NAT traversal issue. Try:
Mac:
sudo launchctl unload /Library/LaunchDaemons/com.zerotier.one.plistRaspberry Pi (via Raspberry Pi Connect):
sudo systemctl restart zerotier-one- Leave old networks:
**
# List networksIssue: SSH password keeps failing
Solutions:
- Try verbose SSH to see what's happening:
ssh -v nfetestpi2@10.135.127.86-
Make sure you're using the correct username (
`nfetestpi2`nfetestpi2, not`pi`pi) -
Set up SSH keys instead (see SSH Keys section above)
Setting Up ZeroTier on a New Raspberry Pi
If you need to set up ZeroTier on a new Raspberry Pi, follow these steps:
Prerequisites
Installation Steps
- Install ZeroTier on the Raspberry Pi:
**
curl -s https://install.zerotier.com | sudo bash- Join the network:
**
sudo zerotier-cli join 2873fd00f2d70904- Verify the Pi joined:
**
sudo zerotier-cli listnetworksYou'll see status as "ACCESS_DENIED" initially.
sudo zerotier-cli listnetworksShould now show:
200 listnetworks 2873fd00f2d70904 my-first-network ... OK PRIVATE ztxxxxxx 10.135.127.xxx/24- Enable SSH (if not already enabled):
**
sudo systemctl enable ssh- Make ZeroTier start on boot:
**
sudo systemctl enable zerotier-one- Test connection from another device:
**
# From your computer (already on ZeroTier network)- Update this
documentation**documentation with the new Pi's IP address!
Advanced: VNC Access (Remote Desktop)
If you need graphical access to the Raspberry Pi:
- Enable VNC on the Pi:
**
sudo raspi-config-
**Install VNC Viewer on your computer:
** -
**Connect using the ZeroTier IP:
** - Open VNC Viewer
- Enter:
`10.135.127.86` - Enter Pi username and password
- Network ID:
**`2873fd00f2d70904` - Network Name:
**`my-first-network` - Pi IP:
**`10.135.127.86` - Pi Username:
**`nfetestpi2`
Quick Reference
Useful Commands
# Check ZeroTier statusNetwork Details
2873fd00f2d70904
nfetestpi2
Last updated: 2026-03-28*