Skip to content

Commit

Permalink
Update dev-docs/howto/vpn/templates/strongswan-secret.tpl
Browse files Browse the repository at this point in the history
Co-authored-by: 3u13r <[email protected]>
  • Loading branch information
burgerdev and 3u13r authored Nov 21, 2023
1 parent fa96546 commit 5597ff8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions dev-docs/howto/vpn/templates/strongswan-secret.tpl
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{{- define "strongswan.swanctl-conf" }}
connections {
net-net {
remote_addrs = {{ .Values.ipsec.peer }}
local {
auth = psk
}
remote {
auth = psk
}
children {
net-net {
local_ts = {{ .Values.podCIDR }},{{ .Values.serviceCIDR }}
remote_ts = {{ join "," .Values.peerCIDRs }}
start_action = trap
}
}
remote_addrs = {{ .Values.ipsec.peer }}
local {
auth = psk
}
remote {
auth = psk
}
children {
net-net {
local_ts = {{ .Values.podCIDR }},{{ .Values.serviceCIDR }}
remote_ts = {{ join "," .Values.peerCIDRs }}
start_action = trap
}
}
}
}

Expand Down

0 comments on commit 5597ff8

Please sign in to comment.