Update README.md

add comment regarding dns metrics
This commit is contained in:
LRVT 2023-04-05 18:11:58 +02:00 committed by GitHub
parent 2912e69adc
commit 54e357ad06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,4 +27,8 @@ REG ADD HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters /v NegotiateDH2
powershell -command "Add-VpnConnection -ServerAddress 'vpn.example.com' -Name 'IKEVPN' -TunnelType IKEv2 -AuthenticationMethod MachineCertificate -EncryptionLevel Required -PassThru"
powershell -command "Set-VpnConnectionIPsecConfiguration -ConnectionName 'IKEVPN' -AuthenticationTransformConstants GCMAES128 -CipherTransformConstants GCMAES128 -EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -PfsGroup None -DHGroup Group14 -PassThru -Force"
# force Windows to use the IKE VPN DNS servers by adjusting the metric level
# see https://superuser.com/a/966833
netsh int ip set interface interface="IKEVPN" metric=1
````