In this article, we will use the Raspberry Pi 4 device that was created in Quickstart for AVH (Raspberry Pi4) tutorial.
Why Use the VPN?
Using a VPN will put your Virtual Device and the computer you are accessing AVH from (typically a desktop or laptop computer) on the same network.
Common use cases for this are:
ssh access to the device
access your application via various TCP/IP or UDP ports and protocols from your desktop/laptop computer
kernel debugging
run a vmmio peripheral over TCP/IP on your local computer to feed stimuli data through a peripheral running locally on your computer into the Virtual Device for application and algorithm validation
How to Connect with Mac OS
Go to the device created in the Quickstart for AVH (Raspberry Pi4) tutorial.
First, click ‘CONNECT’ and then ‘DOWNLOAD OVPN FILE’.
Download the appropriate version of Tunnelblick for your Machine from this URL
If you are on a new version of MacOS you need to use a patched version of Tunnelblick as MacOS no longer allows kext loading. That version is available from https://github.com/sbingner/Tunnelblick/releases/download/v3.8.8beta03%2Biouserethernet1/Tunnelblick.dmg
Navigate to this URL and follow the instructions to install Tunnelblick.
Navigate to this URL to install the system extensions for Tunnelblick.
Add the VPN Configuration file to Tunnelblick by dragging the file over the Tunnelblick Application Icon. Navigate to this URL for detailed instructions.
Click the TunnelBlick icon, then “Connect ...”
.The text will turn green and you are now connected to the VPN!
How to Connect with Windows OS
If the device is off, power it on.
Click ‘CONNECT’ and then ‘DOWNLOAD OVPN FILE’.
Install the appropriate version of OpenVPN for your machine from this URL.
Double click the downloaded file, then click “Install Now”.
The OpenVPN GUI icon should appear in the taskbar by the clock.
Right-click on the OpenVPN GUI icon in the taskbar and select Import → Import File.
Then, select the downloaded OVPN file.
Right-click on the OpenVPN GUI icon in the taskbar and select “Connect”
This window will appear and it will close when OpenVPN has connected to the device.
So now you have connected the VPN to your own host network you can SSH to the device or access the webserver.
Next try connecting to your local machine with SSH with the Connect via SSH tutorial