mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-22 05:43:41 +00:00
edits
This commit is contained in:
@ -19,6 +19,8 @@ ms.date: 01/29/2018
|
|||||||
In IKEv2 VPN connections, the default configuration for Diffie Hellman group is Group 2, which is not secure for IKE exchanges.
|
In IKEv2 VPN connections, the default configuration for Diffie Hellman group is Group 2, which is not secure for IKE exchanges.
|
||||||
To secure the connections, update the configuration of VPN servers and clients by running VPN cmdlets.
|
To secure the connections, update the configuration of VPN servers and clients by running VPN cmdlets.
|
||||||
|
|
||||||
|
## VPN server
|
||||||
|
|
||||||
For VPN server, you need to configure the tunnel type. This makes all IKE exchanges on IKEv2 tunnel use the secure configuration.
|
For VPN server, you need to configure the tunnel type. This makes all IKE exchanges on IKEv2 tunnel use the secure configuration.
|
||||||
|
|
||||||
For example, on a site-to-site VPN server that runs Windows Server 2016, run [Set-VpnServerConfiguration](https://docs.microsoft.com/powershell/module/remoteaccess/set-vpnserverconfiguration?view=win10-ps):
|
For example, on a site-to-site VPN server that runs Windows Server 2016, run [Set-VpnServerConfiguration](https://docs.microsoft.com/powershell/module/remoteaccess/set-vpnserverconfiguration?view=win10-ps):
|
||||||
@ -27,11 +29,12 @@ For example, on a site-to-site VPN server that runs Windows Server 2016, run [Se
|
|||||||
Set-VpnServerConfiguration -TunnelType IKEv2 -CustomPolicy
|
Set-VpnServerConfiguration -TunnelType IKEv2 -CustomPolicy
|
||||||
```
|
```
|
||||||
|
|
||||||
On a VPN server that runs Windows Server 2012 R2, run [Set-VpnServerIPsecConfiguration](https://technet.microsoft.com/library/hh918373(v=wps.620).aspx):
|
On an earlier version of Windows Server, run [Set-VpnServerIPsecConfiguration](https://technet.microsoft.com/library/hh918373(v=wps.620).aspx):
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Set-VpnServerIPsecConfiguration -CustomPolicy
|
Set-VpnServerIPsecConfiguration -CustomPolicy
|
||||||
```
|
```
|
||||||
|
## VPN client
|
||||||
|
|
||||||
For VPN client, you need to configure each VPN connection.
|
For VPN client, you need to configure each VPN connection.
|
||||||
For example, on a VPN client that runs Windows 10, run [Set-VpnConnectionIPsecConfiguration (version 4.0)](https://docs.microsoft.com/powershell/module/vpnclient/set-vpnconnectionipsecconfiguration?view=win10-ps) and specify the name of the connection:
|
For example, on a VPN client that runs Windows 10, run [Set-VpnConnectionIPsecConfiguration (version 4.0)](https://docs.microsoft.com/powershell/module/vpnclient/set-vpnconnectionipsecconfiguration?view=win10-ps) and specify the name of the connection:
|
||||||
|
Reference in New Issue
Block a user