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

    Using a raspberry pi pivpn to tunnel for communication

    Cellular Modems
    4
    5
    332
    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.
    • D
      David Smyth
      last edited by 21 Mar 2022, 20:06

      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
      • C
        Chad Sweet ModalAI Team
        last edited by 21 Mar 2022, 20:10

        Great feedback, thanks!

        1 Reply Last reply Reply Quote 0
        • D
          David Smyth
          last edited by 21 Mar 2022, 20:43

          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.

          E P 2 Replies Last reply 22 Mar 2022, 16:08 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @David Smyth
            last edited by 22 Mar 2022, 16:08

            @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 6 Sept 2024, 17:39

              @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