ARK Documentation
  • ARK Electronics Docs
  • Embedded Computers
    • ARK Just A Jetson
      • Pinout
      • Block Diagram
      • Flashing Guide
      • 3D Model
  • Flight Controller
    • ARK FPV
      • Pinout
      • PX4 Instructions
      • ArduPilot Instructions
      • Betaflight Instructions
      • Bootloader Flashing Using DFU
      • 3D Models
    • ARKV6X
      • PX4 Instructions
      • ArduPilot Instructions
      • 3D Models
    • ARK Pixhawk Autopilot Bus Carrier
      • 3D Models and Case Files
      • Pinout
      • PX4 Instructions
    • ARK Jetson PAB Carrier
      • Getting Started
      • Block Diagram
      • Pinout
      • 3D Models and Case Files
      • Flashing Guide
      • ARK Software
        • Services
      • Autopilot Connections
      • Updating the Flight Controller Firmware
      • Micro USB Console
      • Power Cycling USB Ports
      • Mini DisplayPort
      • USB Wi-Fi Adapters
      • USB Bluetooth Adapters
    • ARK Pi6X Flow
      • Block Diagram
      • Pinout
      • 3D Models
      • Flashing Guide
        • Pi CM4 Lite with Micro SD
        • Pi CM4 with EMMC
        • After Flashing, Before Installing
        • Wi-Fi Setup
        • SSH
      • ARK Software
        • Services
      • Autopilot Connections
      • Updating the Flight Controller Firmware
    • ARK VOXL2 RTK PAB Carrier
      • Pinout
      • Connectors and Cables
      • 3D Models
      • Autopilot Connections
  • Electronic Speed Controller
    • ARK 4IN1 ESC
      • Pinout
      • Firmware
      • PWM Calibration
      • 3D Models
  • Radio
    • ARK M.2 LTE
      • OpenVPN
    • ARK Microhard DDL Carrier
      • 3D Model
  • Sensor
    • ARK Flow
      • Ardupilot Instructions
      • PX4 Instructions
      • 3D models & Case files
    • ARK Flow MR
      • Ardupilot Instructions
      • PX4 Instructions
      • 3D models & Case files
    • ARK CANnode
      • PX4 Instructions
      • 3D Models
  • GPS
    • ARK GPS
      • PX4 Instructions
      • 3D Models
    • ARK MOSAIC-X5 RTK GPS
    • ARK RTK Base
      • 3D Model
    • ARK RTK GPS
    • ARK TESEO GPS
    • ARK SAM GPS
      • PX4 Instructions
      • Ardupilot Instructions
      • Betaflight Instructions
      • 3D Model
  • Power
    • ARK PAB Power Module
      • PX4 Instructions
      • ArduPilot Instructions
      • 3D Model
    • ARK 12S PAB Power Module
      • PX4 Instructions
      • ArduPilot Instructions
      • 3D Model
  • IMU
    • ARK ADIS16507
      • PX4 Instructions
      • ArduPilot Instructions
      • 3D Model
    • ARK SCH16T
      • PX4 Instructions
      • ArduPilot Instructions
      • 3D Model
  • ROS2 & PX4
    • Mastering Precision Landing with PX4 & ROS2
    • Aruco Detectios Tutorial
    • Custom Modes Hardware Demo with PX4 & ROS2
    • Utilizing Custom Modes in PX4 with ROS2 and QGC
    • Simulated Offboard Mode
  • PX4 Log Encryption
  • Radio Integration
    • Doodle Labs Nimble Integration Guide for ARK Jetson PAB Carrier
  • Resources
    • Links
    • About
Powered by GitBook
On this page
  • Prerequisites
  • OpenVPN Access Server setup
  • Configure OpenVPN clients
  • Verify VPN Connection Between Jetson and GCS
  • Troubleshooting
  1. Radio
  2. ARK M.2 LTE

OpenVPN

This guide outlines the steps to configure a Jetson device with an ARK M.2 LTE modem and a Ground Control Station (GCS) to connect through an OpenVPN Access Server on AWS.

PreviousARK M.2 LTENextARK Microhard DDL Carrier

Last updated 7 months ago

Prerequisites

  • OpenVPN Access Server set up on AWS EC2 (refer to ).

  • Jetson device with ARK M.2 LTE modem for internet connectivity.

  • Ground Control Station running Linux with QGroundControl installed.

  • Internet access for both devices

OpenVPN Access Server setup

  1. Access the OpenVPN Admin Panel. Open a browser and login using your admin credentials. The default admin user is openvpn.

    https://<AWS-instance-public-IP>/admin
  2. Under Configuration -> VPN Settings -> Static IP Address Network section, set up the subnet:

    • Network Address: 172.27.17.0

    • Netmask Bits: 24

  3. Add the Subnet 172.27.17.0/24 to the Routing table:

  4. Create Jetson user and assign a static IP

    1. Under User Management -> User Permissions create new user jetson. Ensure Allow auto-login is selected for both jetson and openvpn users and click Save Settings.

    2. On the jetson user click More Settings and under IP Addressing select Use Static. Assign a static IP address in the subnet 172.27.17.0. For example 172.27.17.10

  5. Create user profiles for Jetson and GCS

    1. Under User Management -> User Profiles create a new profile for the openvpn and jetson users. Ensure Autologin is selected..

    2. After creating the profile, the .ovpn configuration file will download automatically. This will will only be downloaded once. You must delete and recreate the profile if you lose this file.

Configure OpenVPN clients

Perform these steps on both the Jetson and GCS, using the .ovpn file for each device. This will install OpenVPN and configure it to start automatically at boot using systemd.

  1. Install OpenVPN:

    sudo apt install openvpn -y
  2. Transfer the Jetson .ovpn file from the Host PC to the Jetson

    scp /path/to/jetson.ovpn jetson@jetson.local:/home/jetson/
  3. Move and rename the OpenVPN configuration:

    sudo mv ~/<config_file>.ovpn /etc/openvpn/client.conf
  4. Enable the service to start automatically on boot:

    sudo systemctl enable openvpn@client
  5. Start the OpenVPN Service:

    sudo systemctl start openvpn@client
  6. Verify VPN Connection:

    ip addr show tun0

Verify VPN Connection Between Jetson and GCS

You should now be able to ping the Jetsons VPN IP addresss from the GCS and vice versa:

  • On the Jetson:

    ping <gcs-vpn-ip>
  • On the GCS:

    ping <jetson-vpn-ip>

Troubleshooting

  • Connected but clients cant ping? Under VPN Settings - Routing, ensure clients are given access to the subnet.

OpenVPN AWS EC2 Setup Guide