mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-16 02:30:24 -04:00
dev-docs: add on-prem terraform to vpn setup (#2619)
* vpn: add fake-on-prem infra * dev-docs: move vpn helm
This commit is contained in:
parent
c922864f30
commit
0564e4ebb4
20 changed files with 407 additions and 0 deletions
13
dev-docs/howto/vpn/helm/files/strongswan/entrypoint.sh
Normal file
13
dev-docs/howto/vpn/helm/files/strongswan/entrypoint.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# The charon binary is not included in the PATH generated by nixery.dev, find it manually.
|
||||
charon="$(dirname "$(readlink -f "$(command -v charon-systemd)")")/../libexec/ipsec/charon"
|
||||
|
||||
"${charon}" &
|
||||
|
||||
while ! swanctl --stats > /dev/null 2> /dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
swanctl --load-all
|
||||
|
||||
wait
|
Loading…
Add table
Add a link
Reference in a new issue