Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Flight Core and Legacy VOXL
  3. OpenVPN TLS Handshake Failed

OpenVPN TLS Handshake Failed

Scheduled Pinned Locked Moved Unsolved Flight Core and Legacy VOXL
voxl
2 Posts 1 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zkern5254
    Contributor
    wrote on last edited by
    #1

    I'm trying to run OpenVPN and it seems like it can't establish the TCP connection for the tunnel.

    I'm getting the follow output from OpenVPN:
    379e3911-515f-4c1e-a45b-3af237ee6bfa-image.png

    Not sure what is the most important line here but the TLS handshake failed might be something.

    I did create a device on the OpenVPN portal and exported the .opvn file. Then I ran:

    openvpn --script-security 2 --config mykeys.ovpn
    

    (did it not a daemon to see the outputs)

    The drone is connected to over wlan0 and I can confirm network connection with a successful ping of google.com

    Thanks in advance for any help.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zkern5254
      Contributor
      wrote on last edited by
      #2

      To all that might come across this, updating to OpenVPN 2.4.6 solved this issue. Note that a reset of the VOXL is required before the upgrade will take hold.

      Also, if you are using the vpn-start service, do not use the full file path that is there by default; instead just use the openvpn call like you would in a terminal and use the file path to sudo /usr/bin/sudo before the openvpn call like this:

      /usr/bin/sudo openvpn --daemon --script-security 2 --config mykeys.ovpn
      

      If you don't make this change, it will try to run the older version of openVPN and will run into all kinds of issues.

      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups