Open clustermvp opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vpngwsuppgithub.
Author: | clustermvp |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `question`, `customer-reported`, `needs-triage`, `Network - VPN Gateway` |
Milestone: | - |
Description
Creating an virtual wan sit to site connection the ipsec policy is not working. also the PfsGroup PFS14 is not available in powershell but is in the gui
Steps to reproduce
$ipsecPolicy = New-AzIpsecPolicy -IkeEncryption AES256 -ikeintegrity SHA256 -DhGroup DHGroup14 -IpsecEncryption AES256 -IpsecIntegrity SHA256 -PfsGroup PFS24 -SALifeTimeSeconds 28800 -Verbose -debug $vpnSiteLinkConnection = New-AzVpnSiteLinkConnection -Name $vpnsitename -VpnSiteLink $vpnSite.VpnSiteLinks[0] -ConnectionBandwidth "200" -SharedKey $Secure_String_Pwd -IpSecPolicy $ipsecPolicy -VpnConnectionProtocolType IKEv2 -EnableBgp -Verbose -debug
$vpnConnection=New-AzVpnConnection -ResourceGroupName $rgName -ParentResourceName $vpnGateway.Name -Name $vpnsitename -VpnSite $vpnSite -VpnSiteLinkConnection @($vpnSiteLinkConnection)
PS C:\Windows\system32> @($vpnSiteLinkConnection)
VpnSiteLink : Microsoft.Azure.Commands.Network.Models.PSVpnSiteLink SharedKey : VpnConnectionProtocolType : ConnectionStatus : EgressBytesTransferred : IngressBytesTransferred : IpsecPolicies : ConnectionBandwidth : 100
Environment data
PS C:\Windows\system32> $PSVersionTable
Name Value
PSVersion 5.1.17763.2090
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.2090
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1