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

ModalAI Forum

  1. ModalAI Support Forum
  2. ESCs, Sensors and Accessories
  3. Using a raspberry pi pivpn to tunnel for communication

Using a raspberry pi pivpn to tunnel for communication

Scheduled Pinned Locked Moved Unsolved ESCs, Sensors and Accessories
cellular
5 Posts 4 Posters 1.7k Views 2 Watching
  • 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.
  • David SmythD Offline
    David SmythD Offline
    David Smyth
    Contributor
    wrote on last edited by
    #1

    In case anyone wants to connect without having to use a cloud service, it's possible to run pivpn to run openvpn on a raspberry pi (or other linux machine) to create the tunnel, while only needing to download the corresponding ovpn file on the voxl. Convenient for testing purposes at least. When using with a mobile network you'll need to take a look at the following: https://github.com/pivpn/pivpn/issues/54.

    1 Reply Last reply
    1
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      Great feedback, thanks!

      1 Reply Last reply
      0
      • David SmythD Offline
        David SmythD Offline
        David Smyth
        Contributor
        wrote on last edited by
        #3

        No problem. I also created a corresponding .service systemd file so that on start up the voxl will connect using the LTE module and then start the vpn client. A second .service file starts the video stream which can be viewed over QGroundControl connected to the same vpn. Seems like this would be a common workflow whenever flying. Might be worth taking a look at using Wireguard instead of openvpn in the future to reduce the vpn overhead.

        Eric KatzfeyE P 2 Replies Last reply
        0
        • David SmythD David Smyth

          No problem. I also created a corresponding .service systemd file so that on start up the voxl will connect using the LTE module and then start the vpn client. A second .service file starts the video stream which can be viewed over QGroundControl connected to the same vpn. Seems like this would be a common workflow whenever flying. Might be worth taking a look at using Wireguard instead of openvpn in the future to reduce the vpn overhead.

          Eric KatzfeyE Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

          @David-Smyth Once again, thanks! WireGuard does indeed look like a nice alternative to openVPN.

          1 Reply Last reply
          0
          • David SmythD David Smyth

            No problem. I also created a corresponding .service systemd file so that on start up the voxl will connect using the LTE module and then start the vpn client. A second .service file starts the video stream which can be viewed over QGroundControl connected to the same vpn. Seems like this would be a common workflow whenever flying. Might be worth taking a look at using Wireguard instead of openvpn in the future to reduce the vpn overhead.

            P Offline
            P Offline
            pthomason
            Contributor
            wrote on last edited by
            #5

            @David-Smyth Would you be willing to share the .service files you created?

            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