Connecting to the VPN

Learn how to connect to a VPN with Mac OS and Windows OS

avhsupport avatar
Written by avhsupport
Updated over a week ago

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

  1. Go to the device created in the Quickstart for AVH (Raspberry Pi4) tutorial.

  2. First, click ‘CONNECT’ and then ‘DOWNLOAD OVPN FILE’.

  3. Download the appropriate version of Tunnelblick for your Machine from this URL

  4. Navigate to this URL and follow the instructions to install Tunnelblick.

  5. Navigate to this URL to install the system extensions for Tunnelblick.

  6. Add the VPN Configuration file to Tunnelblick by dragging the file over the Tunnelblick Application Icon. Navigate to this URL for detailed instructions.

  7. Click the TunnelBlick icon, then “Connect ...”

  8. .The text will turn green and you are now connected to the VPN!

How to Connect with Windows OS

  1. If the device is off, power it on.

  2. Click ‘CONNECT’ and then ‘DOWNLOAD OVPN FILE’.

  3. Install the appropriate version of OpenVPN for your machine from this URL.

  4. Double click the downloaded file, then click “Install Now”.

  5. The OpenVPN GUI icon should appear in the taskbar by the clock.

  6. Right-click on the OpenVPN GUI icon in the taskbar and select Import → Import File.

  7. Then, select the downloaded OVPN file.

  8. Right-click on the OpenVPN GUI icon in the taskbar and select “Connect”

  9. This window will appear and it will close when OpenVPN has connected to the device.

  10. 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


Did this answer your question?