• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    OpenVPN TLS Handshake Failed

    VOXL
    1
    2
    258
    Loading More Posts
    • 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
      zkern5254
      last edited by 1 Jun 2023, 15:34

      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 Reply Quote 0
      • Z
        zkern5254
        last edited by 6 Jun 2023, 19:59

        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 Reply Quote 0
        1 out of 2
        • First post
          1/2
          Last post
        Powered by NodeBB | Contributors