Set up Static IP Address on an OpenVPN Access Server Hyper-V VM

OpenVPN Access Server / Video Tutorials

Setting Up a Static IP Address on an Access Server Hyper-V VM

Learn how to set up a static IP address for your virtual machine running OpenVPN Access Server.

In this tutorial

This tutorial provides you with step-by-step instructions for setting up a static IP address for your Hyper-V virtual machine running OpenVPN Access Server. The steps below outline what’s covered for you in the tutorial.

Set up a static IP address:

  1. Login to the virtual machine.
  2. Edit the network configuration file in the netplan directory.
  3. Define the DHCP, IP address with the CIDR mask, gateway, and nameservers.
  4. Save the file and run netplan apply.
  5. Test the connection by pinging the internet gateway and internet destinations.
  6. Restart OpenVPN Access Server.