aliasmee / alpine-ikev2-vpn

Small Simple Free runing container's IKEv2 VPN base alpine image.
GNU General Public License v3.0
205 stars 55 forks source link

policy match error #8

Open jet10000 opened 4 years ago

jet10000 commented 4 years ago

Win10 Pro 1909

When connect VPN.

It display: policy match error.

reference: https://serverfault.com/questions/965244/strongswan-ikev2-vpn-on-windows-10-client-policy-match-error

but still cannot connect.

jet10000 commented 4 years ago
Set-VpnConnectionIPsecConfiguration -ConnectionName "VPN" -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES256 -EncryptionMethod AES256 -IntegrityCheckMethod SHA384 -DHGroup ECP384 -PfsGroup ECP384 -PassThru -AllUserConnection -Force

It connected, but vpn not work,.

https://forum.netgate.com/topic/110610/probably-guide-ikev2-with-windows-10-and-better-security

jet10000 commented 4 years ago

It's worked

https://answers.microsoft.com/en-us/windows/forum/all/windows-10-ikev2-vpn-connects-but-does-not-have/84902985-bd4d-407a-842b-9039d8d1506c

the issue is the lack of a setting for a gateway, you can find it in: adapter options, properties of the VPN adapter, Networking, IPV4 Properties, Advanced:

image