wmdeit-cf-wmdelib/templates/strongswan-ipsec.conf.mustache

20 lines
449 B
Plaintext
Raw Permalink Normal View History

2023-10-26 22:17:57 +00:00
#
# Mqnaged by CFEngine
#
{{#cfg.tunnel}}
{{#.nets}}
conn "{{.name}} {{.local}} {{.remote}}"
ikelifetime={{.p1_lifetime}}
lifetime={{.p2_lifetime}}
leftsubnet={{.local}}
rightsubnet={{.remote}}
left={{.local_ip}}
right={{.remote_ip}}
esp={{#.p2_encryption}}{{.}}-{{/.p2_encryption}}{{#.p2_hash}}{{.}}-{{/.p2_hash}}modp2048
ike={{.p1_encryption}}-{{.p1_hash}}-modp2048
auto=route
authby=secret
keyexchange=ikev1
{{/.nets}}
{{/cfg.tunnel}}