Fly beyond visual range over 4G
This guide takes a drone from the bench to a flight over the cellular network: telemetry and live video in QGroundControl or Mission Planner, wherever both ends have coverage. It uses the VPN that comes with Fleet Manager, which is included with your UAVcast-Pro license, so neither side needs a public IP or port forwarding.
Time: about an hour. You need:
- A companion computer (Raspberry Pi 4 or 5, or another supported board) with UAVcast-Pro installed and the license activated.
- A MAVLink flight controller (ArduPilot or PX4), a USB data cable or TELEM wiring.
- A USB 4G/LTE modem and a data SIM. Disable the SIM PIN in a phone first, it saves trouble.
- A camera, if you want video.
- A laptop with QGroundControl or Mission Planner, and the Tailscale client.
- A Fleet Manager organization where you are Owner or Admin.
Flying beyond visual line of sight (BVLOS) needs an authorization in most countries. UAVcast-Pro gives you the link; the operational approval, the risk assessment and the fail-safes are your responsibility.
How it fits together
Flight controller ──USB/UART── UAVcast-Pro ──4G──► internet ──► laptop
│ │
└──── Fleet Manager VPN ────────┘
telemetry and video on the ports of the stream binding
The drone sends MAVLink and H.264 video to your laptop's VPN address. The VPN makes the laptop reachable over 4G as if both were on the same local network.
You can use your own ZeroTier network or Tailscale tailnet instead of Fleet Manager: see VPN and Remote access with Tailscale. Steps 1, 2 and 7 to 9 below stay the same.
1. Connect the flight controller
- Plug the flight controller into the companion computer over USB, or wire a TELEM port (TX→RX, RX→TX, GND→GND) and enable MAVLink on that port (
SERIALx_PROTOCOL = 2on ArduPilot,MAV_x_CONFIGon PX4). - In UAVcast-Pro, open Flight Controller → Connection. Choose USB or UART / Serial under Link type, and leave Port and Baud rate on Automatic.
- Wait for the status Connected and a vehicle in Vehicle. If it stays at No heartbeat, see No MAVLink heartbeat.
2. Set up the modem
- Plug in the modem and open Modem.
- Set Enable cellular Modem? to Yes and pick the Modem type: HiLink for modems that act as a USB network adapter (for example Huawei E3372h), Traditional (PPP) for the rest.
- For a Traditional modem, leave Access Point Name (Optional) empty. UAVcast-Pro finds the APN for your SIM and remembers it.
- Under Modem Information, wait for an operator and an IPv4 address.
- Go to Networks and choose Modem Priority (Outdoor Mode), so traffic leaves over the modem even when Wi-Fi is around.
Details: Cellular modem. If the modem connects but nothing loads: Modem connected, no internet.
3. Turn on the VPN in Fleet Manager
In Fleet Manager, open Network. If it shows Enable VPN Network, select it. This creates your organization's private network. See Network and VPN.
4. Pair the drone and put it on the VPN
- In UAVcast-Pro, go to Management → Fleet Management and select Connect to Fleet Manager. Note the 8-digit code.
- In Fleet Manager, go to Fleet → Pair Device, enter the code and confirm the device.
- On the VPN Connection step, keep Enable VPN for this UAV ticked and select Complete Pairing.
- The drone appears under Network → Connected Devices with the UAV type and a
100.x.y.zaddress.
Full walkthrough: Add your first drone to Fleet Manager.
5. Put the laptop on the VPN
- Install Tailscale on the laptop. You don't need a Tailscale account: Fleet Manager runs its own VPN server.
- In Fleet Manager, on Network → Devices, copy the GCS Connection Command under Connect a Device and run it on the laptop as administrator (
sudoon macOS and Linux). - The laptop appears in Connected Devices. In the Type column, select Configure, choose Ground Control Station (GCS) and select Complete Setup.
- Test:
ping <drone VPN IP>from the laptop. You can now open the drone's web interface athttp://<drone VPN IP>/.
Details and screenshots: Connect a ground station.
6. Send telemetry and video to the laptop
- In Fleet Manager, go to Network → Stream Bindings and select Add Binding.
- Choose the drone and the laptop, then select Create Binding. Fleet Manager sends the destination to the drone; it appears on the drone's Ground Control Stations page with a cloud icon.
- Read the binding's video and telemetry ports in the Ports column. For the first drone on a laptop they are the defaults,
5600and14550. - On the laptop, allow incoming UDP on those ports in the firewall (commands in No video, check 3).
7. Start the camera
- Open Camera → Camera settings, set Enable Camera? to Yes and choose the camera in Select Camera.
- For LTE, start with Resolution 1280×720, Select FPS 15–20 and Bitrate: around 1000–1500 kbps.
- Settings save as you change them. Press Start if the camera isn't running yet.
8. Open the ground station
- QGroundControl connects to UDP 14550 by itself. For video, set Source to UDP h.264 Video Stream on the binding's video port in the video settings.
- Mission Planner: choose UDP, press Connect, enter the binding's telemetry port. For video, set the GStreamer source as described on the Mission Planner page.
9. Test on 4G before you fly
- Turn off the companion computer's Wi-Fi, or take the drone away from it, so the only path is the modem.
- Check the dashboard: Cellular connected, VPN connected, Ground station Sending, Video running.
- Watch the link for 10 minutes on the ground, ideally at the take-off site. Look for video freezes and telemetry gaps.
- On Flight Controller → Connection, check GCS Failsafe Information. If it shows Warning - Failsafe Disabled, enable the GCS failsafe on the flight controller (ArduPilot:
FS_GCS_ENABLon Plane,FS_GCS_ENABLEon Copter; PX4:NAV_DLL_ACT) and choose its action, so the drone acts on its own when the link drops.
Turn on Record automatically when armed under Camera → Recordings → Settings. You get the video and a telemetry log of every flight for later review: Record flights and review them.
UAVnet, UAVmatrix's hosted ZeroTier controller, is being discontinued in favour of Fleet Manager. If your drones use a UAVnet network today, move them to the Fleet Manager VPN as described above.
Next steps
- Stream to multiple ground stations
- Add RTK corrections from an NTRIP caster
- Managing several drones? Onboard a fleet with Fleet Manager