Note: If your device/service supports SHA256 and DH group 14, it is recommended to use these settings instead.
Creating Gateway Subnet
- In your Azure Management Portal, navigate to the Virtual networks
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=M90h%2BvXEUg0FR46rV4CqmP8YBr8U0%2FMi4HFlKOD4AQQ%3D)
-
Select the name of the Virtual Network to which you'd like to create a gateway
-
Under the Settings section of your VNet page, select Subnets
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=7DRxTt69AYf7%2Fx0D9z%2BrxOCWduXwC3rZcBug2S25Vf0%3D)
- Select + Gateway subnet (the name of the subnet is filled in with the value "Gateway subnet" by default)
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=Bk6ccs%2FIzY52FaAzlWZUZ%2FZA7vhqSqWdxOhOi%2B85q0w%3D)
- If needed, adjust the auto-filled Address range values to match your configuration requirements
In case this range is not automatically filled in:
- Go to address space-> +Add
- Select a random /27 bit mask subnet space (for example 10.1.255.0/27)
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=IaBJWdcxRUJR0r0qfiOqoxFXsFozS9OkMA2qAJCDl7A%3D)
Creating Virtual Network Gateway
- On the left side of the portal page, select + and type Virtual Network Gateway in the Search line
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=K5ZugA%2Bql4aTAYeECdrMP7fKVKIUasuwGASyw8rTc7I%3D)
- Locate and select the Virtual network gateway
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=kDcYWTsMIllsBDyYZqVA1bAjF4DPbv8RZlydiz55oSQ%3D)
- Select Create
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=FhudqiW5SwAWRfhSTZxbRK0Q3n3B1Zm8VBWFIzsyYck%3D)
- Fill in the fields with the following information:
- Name: Your gateway name
- Region/Location: Select the Virtual Network location\region where your resources are
- Gateway type: Select VPN
- VPN type: Select Route-based
- SKU: Select the gateway SKU from the dropdown. The SKUs listed in the dropdown depend on the VPN you select
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=G0z%2BpIiGOk7wDIU6VZJMsMrJPx3DQC30%2F72gl8XBvT8%3D)
- Virtual network: Select the Virtual network that contains the resources you want to reach via the tunnel
Select a Virtual network to open the Choose a virtual network page.
If you don't see your VNet, make sure the Location/Region field is pointing to the region in which your virtual network is located.
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=TL83Fk0LipZ0FcOSSplFIVKkUz3o4pMI0qA%2F5OsoUBg%3D)
- Gateway subnet address range: You will only see this setting if you did not previously create a gateway subnet for your virtual network. If you previously created a valid gateway subnet, this field will not appear
- Public IP address: This specifies the public IP address object that's associated with the VPN gateway. The public IP address is dynamically assigned to this object when the VPN gateway is created
- Enable active-active mode: Disabled
- Configure BGP ASN: Disabled
- Select Review+create to begin creating the VPN gateway
It can take up to 45 minutes for the task to be completed.
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=v76lM20IFTVJfKLwjYe1DBlaX7mEKkRymjH0qnz%2Fhz4%3D)
Creating Local Network Gateway
- In the portal, select + Create a resource
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=2inlcUFRILUTsNfNL6m1lcv%2FgQpb2BBawN5Bo2pcE00%3D)
- In the search box type "Local network gateway"
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=5QTP8vgWB%2Bu314s2VnPURwT9H751lanxu%2FyNYEVfyV4%3D)
- Select Local network gateway, then select Create to open the Create local network gateway page
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=ReFG%2FQXm6GfvWWUeYyPHZDnr53ptN%2BOumqZ7Thf8Oig%3D)
- Fill in the fields with the following information:
- Name Your gateway name
- IP address: This is the public IP address of the VPN device that you want Azure to connect to. Specify the IP of your NordLayer server with a dedicated IP
- Address Space: 10.6.0.0/20 (make sure that the ranges you specify here do not overlap with ranges of other networks that you want to connect to)
- Subscription: Verify that the correct subscription is showing
- Resource Group: Select the resource group that you want to use. You can either create a new resource group or select one that you have already created
- Location: Select a location that this object will be created in. You may want to select the location in which your Virtual Network resides, however it is not a requirement
- SKU: Select the gateway SKU from the dropdown. The SKUs listed in the dropdown depend on the VPN you select
- Select Create at the bottom of the page to create the local network gateway
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=tQNfM47S%2BgAr03Jzu97nIuDiy3fhkyyq45MwXqnF4hM%3D)
Creating the IPSEC tunnel connection
-
Open your virtual network gateway page
-
On the sidebar, select All resources
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=W8n9wzb0PS8HDDsEeVzxNnh1GCphN5uf7ho1dM4S6zw%3D)
- Select the Local network gateway you created. Once it opens, go to Settings, select Connections, and then +Add
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=6zcXL5rfTk%2FOPiNH0yh2loKOGSaPEAXRg7tlH62neiA%3D)
- Fill in the fields with the following information:
- Name: Your connection name
- Connection type : Select Site-to-site (IPSec)
- Virtual network gateway: Since you are connecting from this gateway this value (the IP you received from Azure) is fixed
- Local network gateway: The local network gateway (your NordLayer network address) which you have just created is the fixed value
- Shared Key: the value here must match the value that you are using for your local on-premises VPN device
- The remaining values for Subscription, Resource Group, and Location are fixed as well
- Select OK to create your connection
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=7v6YKfe1TsV5oxsgAlCMq%2FH5%2BT7dxsCDpaOzSkhF1Uw%3D)
Verifying the VPN connection
- Go to the Azure Portal and select All Resources
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=AgGCbDuVGpkIfajhJcVzYAdA9YrK98KwvJ6vKrOv29o%3D)
- Select the Virtual network gateway
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=uWHdB25UQ0bCXQh53%2BkI4I5WgC7T5u1%2BqEEmAZdl8PA%3D)
- Go to Connections
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=1u3OugkRbzxTC%2FLIRDaBmpEqnfbgJbruEp3kyx4r2S4%3D)
- Select the connection you created
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=Pc55uOBma5TTcB5gIOVqCQn6VlMrBb7e2KE%2BLqNQs5Y%3D)
-
Please choose the connection that you recently established and then choose the configuration option.
-
Select the Custom option within the IPsec/IKE policy settings and input the following values to match the values configured with NordLayer:
Encryption: AES256
Integrity/PRF: SHA256
DH Group: DHGroup14
IPsec Encryption: AES256
IPsec Integrity: SHA256
PFS Group: PFS14 (PFS2048)
IPsec SA lifetime in KiloBytes: 102400000
IPsec SA lifetime in seconds: 3600
- Under the Overview tab, make sure that the Status is Connected
.png?sv=2026-02-06&spr=https&st=2026-11-19T02%3A46%3A04Z&se=2026-11-19T03%3A00%3A04Z&sr=b&sp=r&sig=7GsJWI8qfh6Dd7%2BxmGd0c%2Flv%2FSRC0KuSZrhufrEd3C8%3D)
Ending note:
In order to finalize the site-to-site tunnel, please create a setup in Sites tab of the NordLayer Control Panel.
- Pre-shared key - you can generate it or we can provide it
- Encryption details (AES, SHA and DH group) - AES256, SHA256 and DH group 14 are recommended (also must support IKEv2)
- Remote gateway/router public IP (must be reachable while connected to the server with a dedicated IP)
- Remote subnet and mask (the subnet is used in your local network)
Note: In case you have any questions or issues, press 'Chat with support' at the bottom of the page.