Basic VPN Site to Site (IKEV2) on Windows Server Core summary

Open Powershell

Install Remote Access feature by

Install-WindowsFeature RemoteAccess

Install Remote Access PowerShell module by:

Install-WindowsFeature RSAT-RemoteAccess-PowerShell

Install the Routing feature by:

Install-WindowsFeature Routing

Type Restart-Computer to restart the computer.

Install RemoteAccess VPN S2S

Install-RemoteAccess -VpnType VpnS2S

Add VPN S2S  Interface

Add-VpnS2SInterface -Name "EDGE1" 131.107.0.20 -Protocol IKEv2 -AuthenticationMethod PSKOnly -SharedSecret "ABC" -IPv4Subnet 10.2.0.0/24:100 

https://docs.microsoft.com/en-us/powershell/module/remoteaccess/add-vpns2sinterface?view=win10-ps

Connect VPN S2S Interface

https://docs.microsoft.com/en-us/powershell/module/remoteaccess/connect-vpns2sinterface?view=win10-ps

Get VPN S2S Interface

https://docs.microsoft.com/en-us/powershell/module/remoteaccess/get-vpns2sinterface?view=win10-ps


Reference:
https://docs.microsoft.com/en-us/powershell/module/remoteaccess/

Komentar

Postingan populer dari blog ini

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Cara restart / stop windows service (services.msc) dengan bat / cmd

How to convert VMDK to OVA