Azure-docs: Linux VPN Setup - Missing Prerequisite

Created on 22 Jun 2020  Â·  6Comments  Â·  Source: MicrosoftDocs/azure-docs

Hello,

I spent far too long struggling to get this working before realising that you cant have the SKU set to Basic.
See 4.2 - https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal#addresspool

I think that there is an assumption that all of this documentation is consumed in one go and in order.
In my case, i had used terraform to deploy an Azure Gateway with a Basic SKU.

In this documentation, you are setting up an IKEv2 tunnel which is not supported by default with the Basic SKU. The SKU needs to be changed and the Point to Site configuration needs to be SSTP and IKEv2 as a prerequisite to following the steps listed here for an Ubuntu ipsec tunnel.

Thanks
Ashley


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author doc-bug filesubsvc storagsvc triaged

All 6 comments

@akingscote Thank you for your feedback . We will investigate and update the thread.

@akingscote Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@akingscote Thanks for making us aware of this. I've gone ahead and reached out to the writer and will work with them to get this sorted out.

@akingscote So I reached out to the writer and we went over the doc together. Actually the segment of the script where you are instructed to use that tunnel doesn't use the basic SKU. I copied this out of the document:

az network vnet-gateway create \
    --resource-group $resourceGroupName \
    --name $vpnName \
    --vnet $virtualNetworkName \
    --public-ip-addresses $publicIpAddress \
    --location $region \
    --sku "VpnGw1" \
    --gateway-typ "Vpn" \
    --vpn-type "RouteBased" \
    --address-prefixes "172.16.201.0/24" \
    --client-protocol "IkeV2" > /dev/null

As you can see, it's VpnGw1, so I'm not sure what you mean. Are you referring to something else?

@roygara
Thanks for looking into this. As i mentioned in my comment, I think that there is an assumption that all of this documentation is consumed in one go and in order. I deployed a VPN gateway and peerings etc.. via terraform and wanted to connect via linux, so i then consulted this document. It does briefly mention about the SKU elsewhere - https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal#creategw but i never found that page as im not interested in Mac, so i only found the documentation for Linux P2S. I came onto this page directly.
I guess I missed it on my side, but i really feel like this need to be made clearer.

Surely its not much effort to put a section in saying the VPN gateway SKU needs to be set to anything other than Basic.
By following your logic of users having to follow the script, you are implying that the SKU can only be set to VpnGw1.

@akingscote No no, I'm clarifying that we're talking about the same thing. Since we are, this is easy to resolve. And I want to be clear: This is good feedback, thanks for pointing this out, we appreciate it! :)

I've gone ahead and added a bit to the note in front of the script calling this out. That'll be live later today.

Accordingly, I'll close this issue out.

Again, thanks for bringing this to our attention. :)

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jharbieh picture jharbieh  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments