diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-01 13:09:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-01 13:09:36 +0200 |
commit | c6e611b7a47c0409282e61186501762b12c6edc1 (patch) | |
tree | d6b3b2c03caa27cc1d07028c2af49651824fc22d /data/templates/ipsec/windows_profile.j2 | |
parent | 96624c22a41a41bc2bbfa454471cc7d14ed612e8 (diff) | |
parent | 1171e3d359cc2718afc80fccfc99c7ecccf95dbd (diff) | |
download | vyos-1x-c6e611b7a47c0409282e61186501762b12c6edc1.tar.gz vyos-1x-c6e611b7a47c0409282e61186501762b12c6edc1.zip |
Merge pull request #3922 from vyos/mergify/bp/circinus/pr-3903
T6617: T6618: vpn ipsec remote-access: fix profile generators (backport #3903)
Diffstat (limited to 'data/templates/ipsec/windows_profile.j2')
-rw-r--r-- | data/templates/ipsec/windows_profile.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/windows_profile.j2 b/data/templates/ipsec/windows_profile.j2 index 8c26944be..b5042f987 100644 --- a/data/templates/ipsec/windows_profile.j2 +++ b/data/templates/ipsec/windows_profile.j2 @@ -1,4 +1,4 @@ Remove-VpnConnection -Name "{{ vpn_name }}" -Force -PassThru Add-VpnConnection -Name "{{ vpn_name }}" -ServerAddress "{{ remote }}" -TunnelType "Ikev2" -Set-VpnConnectionIPsecConfiguration -ConnectionName "{{ vpn_name }}" -AuthenticationTransformConstants {{ ike_encryption.encryption }} -CipherTransformConstants {{ ike_encryption.encryption }} -EncryptionMethod {{ esp_encryption.encryption }} -IntegrityCheckMethod {{ esp_encryption.hash }} -PfsGroup None -DHGroup "Group{{ ike_encryption.dh_group }}" -PassThru -Force +Set-VpnConnectionIPsecConfiguration -ConnectionName "{{ vpn_name }}" -AuthenticationTransformConstants {{ ike_encryption.encryption }} -CipherTransformConstants {{ ike_encryption.encryption }} -EncryptionMethod {{ esp_encryption.encryption }} -IntegrityCheckMethod {{ esp_encryption.hash }} -PfsGroup {{ esp_encryption.pfs }} -DHGroup {{ ike_encryption.dh_group }} -PassThru -Force |