How to transition to OpenVPN or IKEv2 from SSTP - Azure VPN Gateway (2024)

  • Article

A point-to-site (P2S) VPN gateway connection lets you create a secure connection to your virtual network from an individual client computer. A P2S connection is established by starting it from the client computer. This article applies to the Resource Manager deployment model and talks about ways to overcome the 128 concurrent connection limit of SSTP by transitioning to OpenVPN protocol or IKEv2.

What protocol does P2S use?

Point-to-site VPN can use one of the following protocols:

  • OpenVPN® Protocol, an SSL/TLS based VPN protocol. An SSL VPN solution can pass through firewalls, since most firewalls open TCP port 443 outbound, which SSL uses. OpenVPN can be used to connect from Android, iOS (versions 11.0 and above), Windows, Linux, and Mac devices (macOS versions 12.x and above).

  • Secure Socket Tunneling Protocol (SSTP), a proprietary SSL-based VPN protocol. An SSL VPN solution can penetrate firewalls, since most firewalls open TCP port 443 outbound, which SSL uses. SSTP is only supported on Windows devices. Azure supports all versions of Windows that have SSTP (Windows 7 and later). SSTP supports up to 128 concurrent connections only regardless of the gateway SKU.

  • IKEv2 VPN, a standards-based IPsec VPN solution. IKEv2 VPN can be used to connect from Mac devices (macOS versions 10.11 and above).

Note

IKEv2 and OpenVPN for P2S are available for the Resource Manager deployment model only. They are not available for the classic deployment model. The Basic gateway SKU does not support IKEv2 or OpenVPN protocols. If you are using the Basic SKU, you will have to delete and recreate a production SKU virtual network gateway.

Migrating from SSTP to IKEv2 or OpenVPN

There might be cases when you want to support more than 128 concurrent P2S connection to a VPN gateway but are using SSTP. In such a case, you need to move to IKEv2 or OpenVPN protocol.

Option 1 - Add IKEv2 in addition to SSTP on the Gateway

This is the simplest option. SSTP and IKEv2 can coexist on the same gateway and give you a higher number of concurrent connections. You can simply enable IKEv2 on the existing gateway and redownload the client.

Adding IKEv2 to an existing SSTP VPN gateway won't affect existing clients and you can configure them to use IKEv2 in small batches or just configure the new clients to use IKEv2. If a Windows client is configured for both SSTP and IKEv2, it tries to connect using IKEV2 first and if that fails, it falls back to SSTP.

IKEv2 uses non-standard UDP ports so you need to ensure that these ports are not blocked on the user's firewall. The ports in use are UDP 500 and 4500.

To add IKEv2 to an existing gateway, go to the "point-to-site configuration" tab under the Virtual Network Gateway in portal, and select IKEv2 and SSTP (SSL) from the drop-down box.

Note

When you have both SSTP and IKEv2 enabled on the gateway, the point-to-site address pool will be statically split between the two, so clients using different protocols will be assigned IP addresses from either sub-range. Note that the maximum amount of SSTP clients is always 128, even if the address range is larger than /24 resulting in a bigger amount of addresses available for IKEv2 clients. For smaller ranges, the pool will be equally halved. Traffic Selectors used by the gateway may not include the point-to-site address range CIDR, but the two sub-range CIDRs.

Option 2 - Remove SSTP and enable OpenVPN on the Gateway

Since SSTP and OpenVPN are both TLS-based protocol, they can't coexist on the same gateway. If you decide to move away from SSTP to OpenVPN, you'll have to disable SSTP and enable OpenVPN on the gateway. This operation causes the existing clients to lose connectivity to the VPN gateway until the new profile has been configured on the client.

You can enable OpenVPN along side with IKEv2 if you desire. OpenVPN is TLS-based and uses the standard TCP 443 port. To switch to OpenVPN, go to the "point-to-site configuration" tab under the Virtual Network Gateway in portal, and select OpenVPN (SSL) or IKEv2 and OpenVPN (SSL) from the drop-down box.

Once the gateway has been configured, existing clients won't be able to connect until you deploy and configure the OpenVPN clients.

If you're using Windows 10 or later, you can also use the Azure VPN Client.

Frequently asked questions

What are the client configuration requirements?

Note

For Windows clients, you must have administrator rights on the client device in order to initiate the VPN connection from the client device to Azure.

Users use the native VPN clients on Windows and Mac devices for P2S. Azure provides a VPN client configuration zip file that contains settings required by these native clients to connect to Azure.

  • For Windows devices, the VPN client configuration consists of an installer package that users install on their devices.
  • For Mac devices, it consists of the mobileconfig file that users install on their devices.

The zip file also provides the values of some of the important settings on the Azure side that you can use to create your own profile for these devices. Some of the values include the VPN gateway address, configured tunnel types, routes, and the root certificate for gateway validation.

Note

Starting July 1, 2018, support is being removed for TLS 1.0 and 1.1 from Azure VPN Gateway. VPN Gateway will support only TLS 1.2. Only point-to-site connections are impacted; site-to-site connections won't be affected. If you’re using TLS for point-to-site VPNs on Windows 10 or later clients, you don’t need to take any action. If you're using TLS for point-to-site connections on Windows 7 and Windows 8 clients, see the VPN Gateway FAQ for update instructions.

Which gateway SKUs support P2S VPN?

The following table shows gateway SKUs by tunnel, connection, and throughput. For additional tables and more information regarding this table, see the Gateway SKUs section of the VPN Gateway settings article.

VPN
Gateway
Generation
SKUS2S/VNet-to-VNet
Tunnels
P2S
SSTP Connections
P2S
IKEv2/OpenVPN Connections
Aggregate
Throughput Benchmark
BGPZone-redundantSupported Number of VMs in the Virtual Network
Generation1BasicMax. 10Max. 128Not Supported100 MbpsNot SupportedNo200
Generation1VpnGw1Max. 30Max. 128Max. 250650 MbpsSupportedNo450
Generation1VpnGw2Max. 30Max. 128Max. 5001 GbpsSupportedNo1300
Generation1VpnGw3Max. 30Max. 128Max. 10001.25 GbpsSupportedNo4000
Generation1VpnGw1AZMax. 30Max. 128Max. 250650 MbpsSupportedYes1000
Generation1VpnGw2AZMax. 30Max. 128Max. 5001 GbpsSupportedYes2000
Generation1VpnGw3AZMax. 30Max. 128Max. 10001.25 GbpsSupportedYes5000
Generation2VpnGw2Max. 30Max. 128Max. 5001.25 GbpsSupportedNo685
Generation2VpnGw3Max. 30Max. 128Max. 10002.5 GbpsSupportedNo2240
Generation2VpnGw4Max. 100*Max. 128Max. 50005 GbpsSupportedNo5300
Generation2VpnGw5Max. 100*Max. 128Max. 1000010 GbpsSupportedNo6700
Generation2VpnGw2AZMax. 30Max. 128Max. 5001.25 GbpsSupportedYes2000
Generation2VpnGw3AZMax. 30Max. 128Max. 10002.5 GbpsSupportedYes3300
Generation2VpnGw4AZMax. 100*Max. 128Max. 50005 GbpsSupportedYes4400
Generation2VpnGw5AZMax. 100*Max. 128Max. 1000010 GbpsSupportedYes9000

Note

The Basic SKU has limitations and does not support IKEv2, or RADIUS authentication.

What IKE/IPsec policies are configured on VPN gateways for P2S?

IKEv2

CipherIntegrityPRFDH Group
GCM_AES256GCM_AES256SHA384GROUP_24
GCM_AES256GCM_AES256SHA384GROUP_14
GCM_AES256GCM_AES256SHA384GROUP_ECP384
GCM_AES256GCM_AES256SHA384GROUP_ECP256
GCM_AES256GCM_AES256SHA256GROUP_24
GCM_AES256GCM_AES256SHA256GROUP_14
GCM_AES256GCM_AES256SHA256GROUP_ECP384
GCM_AES256GCM_AES256SHA256GROUP_ECP256
AES256SHA384SHA384GROUP_24
AES256SHA384SHA384GROUP_14
AES256SHA384SHA384GROUP_ECP384
AES256SHA384SHA384GROUP_ECP256
AES256SHA256SHA256GROUP_24
AES256SHA256SHA256GROUP_14
AES256SHA256SHA256GROUP_ECP384
AES256SHA256SHA256GROUP_ECP256
AES256SHA256SHA256GROUP_2

IPsec

CipherIntegrityPFS Group
GCM_AES256GCM_AES256GROUP_NONE
GCM_AES256GCM_AES256GROUP_24
GCM_AES256GCM_AES256GROUP_14
GCM_AES256GCM_AES256GROUP_ECP384
GCM_AES256GCM_AES256GROUP_ECP256
AES256SHA256GROUP_NONE
AES256SHA256GROUP_24
AES256SHA256GROUP_14
AES256SHA256GROUP_ECP384
AES256SHA256GROUP_ECP256
AES256SHA1GROUP_NONE

What TLS policies are configured on VPN gateways for P2S?

TLS

Policies
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
**TLS_AES_256_GCM_SHA384
**TLS_AES_128_GCM_SHA256

**Only supported on TLS1.3 with OpenVPN

How do I configure a P2S connection?

A P2S configuration requires quite a few specific steps. The following articles contain the steps to walk you through P2S configuration, and links to configure the VPN client devices:

  • Configure a P2S connection - RADIUS authentication

  • Configure a P2S connection - Azure native certificate authentication

  • Configure OpenVPN

Next steps

  • Configure a P2S connection - RADIUS authentication

  • Configure a P2S connection - Azure certificate authentication

"OpenVPN" is a trademark of OpenVPN Inc.

How to transition to OpenVPN or IKEv2 from SSTP - Azure VPN Gateway (2024)

FAQs

What is the difference between Azure VPN IKEv2 and OpenVPN? ›

IKEv2 is easier to block than OpenVPN due to its reliance on fixed protocols and ports. OpenVPN can be easily configured to run on any port using either UDP or TCP thereby easily bypassing restrictive firewalls. WireGuard® uses the UDP protocol and can be configured to use any port.

Which VPN in Azure basically works over the IKEv2 or SSTP tunneling protocol? ›

About point-to-site VPN
Tunnel typeClient OSVPN client
IKEv2, SSTPWindowsNative VPN client
IKEv2macOSNative VPN client
IKEv2LinuxstrongSwan
OpenVPNWindowsAzure VPN client OpenVPN client
8 more rows
Jul 10, 2024

How do I change my VPN gateway in Azure? ›

  1. Sign in to the Azure portal.
  2. In Search resources, service, and docs (G+/) at the top of the portal page, enter virtual network. ...
  3. On the Virtual network page, select Create to open the Create virtual network page.
  4. On the Basics tab, configure the virtual network settings for Project details and Instance details.
Aug 2, 2024

Does OpenVPN use SSTP? ›

Since SSTP and OpenVPN are both TLS-based protocol, they can't coexist on the same gateway. If you decide to move away from SSTP to OpenVPN, you'll have to disable SSTP and enable OpenVPN on the gateway.

Should I use IKEv2 or OpenVPN? ›

IKEv2 and OpenVPN are both solid choices when it comes to speed, security, and reliability. IKEv2 has the edge when it comes to speed and is a better choice for mobile devices due to its stability. However, OpenVPN is the stronger option if security is the top priority, and it still offers a fast connection.

Which VPN solution is more secure IKEv2 or IPsec? ›

Which VPN solution is more secure, IKEv2 or IPsec? IPsec, because IKEv2 does not perform does not perform any encryption. IKEv2, because it operates at Layer 4, encapsulating all lower-layer headers. They are not comparable; IKEv2 operates in conjunction with IPsec to create secure VPN tunnels.

What are the multiple Azure VPN gateway configurations? ›

Azure VPN gateways can be configured as active-standby or active-active. In an active-active configuration, both instances of the gateway VMs establish site-to-site VPN tunnels to your on-premises VPN device. Active-active mode gateways are a key part of highly available gateway connectivity design.

Can you have multiple VPN gateways per VNET? ›

A VPN gateway requires the -GatewayType Vpn. So, you cannot create more than one VPN gateway in a single Virtual Network. Also, each virtual network, including a peered virtual network, can have its own gateway.

How do I change my VPN connection? ›

Edit VPN settings
  1. Open your device's Settings app.
  2. Tap Network & internet. VPN. If you can't find it, search for "VPN." If you still can't find it, get help from your device manufacturer.
  3. Next to the VPN you want to edit, tap Settings . If you use a VPN app, the app will open.
  4. Edit the VPN settings. If needed, tap Save.

What ports does Azure VPN IKEv2 use? ›

IKEv2 VPN: A standards-based IPsec VPN solution that uses outbound UDP ports 500 and 4500, along with IP protocol number 50.

What is the best port for SSTP? ›

SSTP, however, uses port 443, which is the SSL/TLS port used in web applications. Since SSTP uses the same 443 port, it isn't typically blocked on any network, including a workplace environment.

How secure is SSTP VPN? ›

SSTP uses the strong encryption and authentication features of SSL/TLS, enabling it to provide a secure, reliable VPN connection. The protocol is particularly effective in environments where VPN connections might be blocked or fail to connect through firewalls or NAT devices.

What is Azure OpenVPN? ›

OpenVPN Access Server

Safely connect your devices over the public Internet to your own private secure Virtual Network on Microsoft Azure. Securely connect your on premises office network to the Microsoft Azure network. Define access rules that let certain devices access only portions of your network, or all of it at ...

Is IKEv2 better than OpenVPN for gaming? ›

OpenVPN can be slower due to its encryption overhead. IKEv2 is faster in establishing connections but may vary in latency performance based on network congestion.

Does Azure support IKEv2? ›

Azure VPN Gateway supports the following cross-premises gateway connections: Site-to-site: VPN connection over IPsec (IKEv1 and IKEv2). This type of connection requires a VPN device or Windows Server Routing and Remote Access.

Which is better IPsec or OpenVPN? ›

IPsec's configuration is more complex because of its extensive options and the necessity to set up each endpoint with compatible settings. OpenVPN is known for its ease of setup and configuration, often requiring only a single configuration file to get started.

Top Articles
Named export Vs default export in ES6
Here's Why Investors Should Hold Teladoc (TDOC) Stock Now
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
Non Sequitur
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 6601

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.