Configure OpenVPN for Azure point-to-site VPN Gateway
This article helps you set up OpenVPN® Protocol on Azure VPN Gateway. The article assumes that you already have a working point-to-site environment. If you do not, use the instructions in step 1 to create a point-to-site VPN.
This article has been updated to use the new Azure PowerShell Az module. You can still use the AzureRM module, which will continue to receive bug fixes until at least December 2020. To learn more about the new Az module and AzureRM compatibility, see Introducing the new Azure PowerShell Az module. For Az module installation instructions, see Install Azure PowerShell.
1. Create a point-to-site VPN
If you don't already have a functioning point-to-site environment, follow the instruction to create one. See Create a point-to-site VPN to create and configure a point-to-site VPN gateway with native Azure certificate authentication.
The Basic SKU is not supported for OpenVPN.
2. Enable OpenVPN on the gateway
Enable OpenVPN on your gateway. Make sure that the gateway is already configured for point-to-site (IKEv2 or SSTP) before running the following commands:
$gw = Get-AzVirtualNetworkGateway -ResourceGroupName $rgname -name $name Set-AzVirtualNetworkGateway -VirtualNetworkGateway $gw -VpnClientProtocol OpenVPN
To configure clients for OpenVPN, see Configure OpenVPN clients.
"OpenVPN" is a trademark of OpenVPN Inc.