Using a raspberry pi pivpn to tunnel for communication
-
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.
-
Great feedback, thanks!
-
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.
-
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.
@David-Smyth Once again, thanks! WireGuard does indeed look like a nice alternative to openVPN.
-
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.
@David-Smyth Would you be willing to share the .service files you created?
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