Add default IPv6 routes to the windows powershell script (#1501)

This commit is contained in:
Jack Ivanov 2019-06-24 20:32:08 +02:00 committed by GitHub
parent 14ee323eca
commit 0e6554943f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,6 +174,12 @@ function Add-AlgoVPN {
}
Add-VpnConnection @addVpnParams
$addVpnRouteParams = @{
ConnectionName = $VpnName
}
Add-VpnConnectionRoute @addVpnRouteParams -DestinationPrefix ::/1
Add-VpnConnectionRoute @addVpnRouteParams -DestinationPrefix 8000::/1
$setVpnParams = @{
ConnectionName = $VpnName
AuthenticationTransformConstants = "GCMAES256"