diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-02 14:42:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 14:42:59 +0200 |
commit | ede841f31425c3fe2f1042e56d4bf3407b8734ae (patch) | |
tree | 2627dd20be775a22c8af6b72e0218595711ecebd /data/templates/ipsec/windows_profile.j2 | |
parent | 5e770b631d4ec3b0fb80e7031284c5ee60498252 (diff) | |
parent | ca12e0bc07ea31d1a6515c0352ae732cfc3674be (diff) | |
download | vyos-1x-ede841f31425c3fe2f1042e56d4bf3407b8734ae.tar.gz vyos-1x-ede841f31425c3fe2f1042e56d4bf3407b8734ae.zip |
Merge pull request #3921 from vyos/mergify/bp/sagitta/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 |