MEschenbacher's Wireguard Saltstack Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pillar.example 958B

il y a 6 ans
il y a 6 ans
123456789101112131415161718192021222324252627282930
  1. wireguard:
  2. interfaces:
  3. wgtest:
  4. listen_port: 51820
  5. # fwmark: 0x1
  6. private_key: secret
  7. peers:
  8. - peer: 1ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  9. # the note: will not go into wireguard configuration
  10. # it enables you to label peers
  11. note: some_note
  12. endpoint: '10.42.0.0:1338'
  13. allowed_ips:
  14. - 10.0.0.2/32
  15. - 'fdff::2/128'
  16. persistent_keepalive: 25
  17. # preshared_key: secret
  18. - peer: 2ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  19. endpoint: '[2001:db8::1]:1339'
  20. allowed_ips:
  21. - 10.0.0.3/32
  22. - 'fdff::3/128'
  23. # optionally, a list of interfaces can be specified for which forwarding will
  24. # be set to 1 via sysctl.present
  25. # ATTENTION: this option is experimental and I haven't made my mind up whether
  26. # it'll stay. Please don't rely on this for now.
  27. set_forward_interfaces:
  28. - all
  29. - wgtest