Initial commit
This commit is contained in:
parent
43594d0f49
commit
af59d8cbb1
|
@ -0,0 +1,19 @@
|
||||||
|
#
|
||||||
|
# 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}}
|
|
@ -0,0 +1,6 @@
|
||||||
|
#
|
||||||
|
# Managed by CFEngine
|
||||||
|
#
|
||||||
|
{{#.cfg.tunnel}}
|
||||||
|
{{remote_ip}} : PSK "{{psk}}"
|
||||||
|
{{/.cfg.tunnel}}
|
Loading…
Reference in New Issue