Skip to content

Instantly share code, notes, and snippets.

@richm
Created August 17, 2022 19:55
Show Gist options
  • Save richm/eb36f0416bc5276b1b3ccaeec2b1cc36 to your computer and use it in GitHub Desktop.
Save richm/eb36f0416bc5276b1b3ccaeec2b1cc36 to your computer and use it in GitHub Desktop.
vars:
vpn_connections:
- auth_method: psk
auto: start
# these common parameters are applied to the config of all hosts
shared_key_content: secure_vault_key
ike: aes256;sha512
esp: aes256;sha512
ikelifetime: 10h
salifetime: 8h
hosts:
this_host:
leftid: idoftheclient
nfsserver:
hostname: nfsserver.example.com
rightid: idoftheserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment