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

    Using a raspberry pi pivpn to tunnel for communication

    Cellular Modems
    4
    5
    331
    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.
    • David SmythD
      David Smyth
      last edited by

      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 Reply Quote 1
      • Chad SweetC
        Chad Sweet ModalAI Team
        last edited by

        Great feedback, thanks!

        1 Reply Last reply Reply Quote 0
        • David SmythD
          David Smyth
          last edited by

          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 Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @David Smyth
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • P
              pthomason @David Smyth
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors