# Drone Remote Control via 4G
###### tags: `Drone`
[TOC]
## Introduction

## VPN Setup
The VPN Survice I use the ==Zerotier==. It is free and friendly to setup, so it is satisfy to initial Setup.
* https://www.zerotier.com
1. Sign up
2. Create a Network
After creating Network you will into the dashboard and see the Network ID.
You can modify the Name and add the description also choose the Access Control private or public. In my case I select private.

Choose the IP address.
Because free version is limit of 50 connects and one `*` mean 0~255 so I just need one star. For the reason I select the `192.168.195.*`.

## Setup VPN client
### Windows
Download the execute file and install type in the VPN ID.
### Ubuntu
```
curl -s https://install.zerotier.com | sudo bash
```
```
sudo zerotier-cli join $Zerotier_ID
```
:::info
The Connection of VPN will Automatically connect when the device bootup.
:::

## Start Mavproxy
```
sudo -s
```
```
mavproxy.py --master=/dev/ttyUSB0 --out 192.168.195.102:14550
```
## Ground Station
### QGroundControl
Add the connection `UDP` and port `14550`.
## Issue
1. -bash: curl: command not found
```
sudo apt update
sudo apt install curl
```
## Reference
* https://www.youtube.com/watch?v=utytyjs7ZWg