summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/windows_profile.j2
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2024-07-29 23:22:05 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-01 05:52:33 +0000
commitca12e0bc07ea31d1a6515c0352ae732cfc3674be (patch)
treed4e7e772580ad13b807760e130df03cd6884a960 /data/templates/ipsec/windows_profile.j2
parente61a175838f226f49d131783d831f2fab5bd9eaf (diff)
downloadvyos-1x-ca12e0bc07ea31d1a6515c0352ae732cfc3674be.tar.gz
vyos-1x-ca12e0bc07ea31d1a6515c0352ae732cfc3674be.zip
T6617: T6618: vpn ipsec remote-access: fix profile generatorsmergify/bp/sagitta/pr-3903
(cherry picked from commit e97d86e619e134f4dfda06efb7df4a3296d17b95)
Diffstat (limited to 'data/templates/ipsec/windows_profile.j2')
-rw-r--r--data/templates/ipsec/windows_profile.j22
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