Skip to main content

VPN

Over 4G/LTE your drone gets an address from the mobile operator that your ground station can't reach. A VPN fixes that: the drone and the ground station join the same private network and get fixed addresses on it, wherever they are and whatever network they use. Open Virtual Private Network in the sidebar.

The quickest way is the Fleet Manager VPN, which is included with your UAVcast-Pro license. If you already run your own Tailscale tailnet or ZeroTier network, UAVcast-Pro can join that instead.

Virtual Private Network with Tailscale selected on a drone that is not paired or logged in yet.

Which one should I use?​

Fleet Manager VPNTailscaleZeroTier
AccountYour Fleet Manager organization (included with your license)Your own Tailscale accountYour own ZeroTier network (self-managed)
Set up on the droneOne click during or after pairingLog in with a browser link or an auth keyPaste a network ID
Ground stationsJoined from Fleet Manager's Network page, streams set with stream bindingsJoin your tailnetJoin your network
Best forMost operators, and every fleetTeams already on TailscaleTeams already on ZeroTier

The drone can be on one VPN at a time through this page.

UAVnet is being retired

UAVnet, UAVmatrix's hosted ZeroTier controller at uavnet.uavmatrix.com, is being discontinued in favour of Fleet Manager. If your drones use a UAVnet network, move them to the Fleet Manager VPN. The Open UAVNet Controller button on this page opens UAVnet.

Fleet Manager VPN​

The Fleet Manager VPN is your organization's private network, run by Fleet Manager on the Tailscale client. You don't need a Tailscale account.

  1. In Fleet Manager, open Network and select Enable VPN Network if it isn't on yet. See Network and VPN.
  2. Pair the drone and keep Enable VPN for this UAV ticked in the pairing wizard. A drone that is already paired joins from the Fleet Manager tab on this page (see below), or with Push to Drone on Fleet Manager's Network page.
  3. Put each ground station on the network from Fleet Manager's Network page: Connect a ground station.
  4. Send streams to it with a stream binding. Fleet Manager adds the destination on the drone's Ground Control Stations page for you.

A step-by-step flight setup over 4G is in Fly beyond visual range over 4G.

Tailscale​

Use this for your own tailnet, or for the Fleet Manager VPN on a drone that is already paired. UAVcast-Pro installs Tailscale. Choose how the drone logs in on one of the three tabs.

  1. Set Enable VPN to Yes and choose Tailscale in Services.
  2. On Web Login, select Generate Login URL, then Authenticate this device.
  3. Log in to Tailscale in the new tab and approve the device.
  4. Back in UAVcast-Pro the status changes to Connected and shows the IPv4 Address, Host Name and Tailnet.

Install Tailscale on the ground station, log in to the same tailnet, and use its Tailscale IP (100.x.y.z) as the destination on Ground Control Stations.

When connected, Interface Down takes the Tailscale interface down without logging out, Interface Up brings it back, and Logout removes the device from the tailnet.

The Fleet Manager VPN replaces your own Tailscale login

The Fleet Manager VPN runs on Tailscale with Fleet Manager's own login server. Connecting to it logs the drone out of your own tailnet. If your SSH session runs over that tailnet, it drops. Do this from the local network.

ZeroTier​

Use this if you run your own ZeroTier network, for example in ZeroTier Central or on your own controller.

Join the drone​

  1. In UAVcast-Pro, go to Virtual Private Network.
  2. Set Enable VPN to Yes.
  3. In Services, choose ZeroTier.
  4. Paste your 16-character network ID into Network ID and select Join Network.
  5. Authorize the drone in your ZeroTier controller if the network is private. The ZeroTier Network panel then shows Connected and the Device IP.

ACCESS_DENIED means the member isn't authorized yet.

Join the ground station​

  1. Install ZeroTier One on the ground station computer.
  2. Join the same network ID: on Windows and macOS from the ZeroTier tray or menu-bar icon (Join New Network); on Linux with sudo zerotier-cli join <network-id>.
  3. Authorize it in your controller and note the IP address it gets.

On Ground Control Stations, set Destination IP or Host to the ground station's ZeroTier IP. Telemetry and video now go through the VPN.

Switching between Wi-Fi and 4G

ZeroTier and Tailscale follow the best available network. You can start on Wi-Fi at the field and the link moves to the modem when Wi-Fi goes out of range, without changing any address.

Settings reference​

SettingDefaultValuesNotes
Enable VPNNoYes, No
ServicesZeroTierZeroTier, TailscaleDisabled until VPN is enabled.
Network ID (ZeroTier)empty16-character ZeroTier network IDFrom your own ZeroTier controller.
Auth Key (Tailscale)emptytskey-auth-…
Hostname (Optional) (Tailscale)system hostnametextName shown in the Tailscale admin console.

Troubleshooting​

SymptomCheck
ZeroTier shows ACCESS_DENIEDAuthorize the member in your ZeroTier controller.
Connected, but no telemetry at the ground stationThe destination still uses the LAN IP. Use the ground station's VPN IP, and allow UDP 14550 and 5600 in its firewall.
No VPN Information AvailableVPN is disabled or the service isn't running. Check Enable VPN and the Action Logs.
Tailscale web login shows No Authentication URLUse the Auth Key tab instead.

The interfaces appear on the Networks page as zt… (ZeroTier) or tailscale0, marked VPN.

Still stuck? See VPN connected but the drone can't be reached.

5 min readUAVcast-Pro
Edit