MEschenbacher's Wireguard Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 6 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
преди 5 години
123456789101112131415161718192021222324252627282930313233343536
  1. wireguard:
  2. wg0:
  3. # default False
  4. delete: False
  5. # default True
  6. enable: True
  7. # see wg(8) and wg-quick(8) for supported keys. We use all lowercase letters.
  8. address:
  9. - fe80::1/64
  10. - 10.0.0.1/24
  11. listenport: 51820
  12. peers:
  13. - publickey: foobar
  14. allowedips:
  15. - fe80::2
  16. - 10.0.0.2/32
  17. presharedkey: secret1
  18. - publickey: bazbar
  19. allowedips:
  20. - fe80::3
  21. - 10.0.0.3/32
  22. presharedkey: secret2
  23. # the config key can be used to pass a whole wireguard config in. Make sure
  24. # to have the correct indentation of 4 spaces more than the config key and
  25. # to start with config: |
  26. config: |
  27. [Interface]
  28. Address = fe80::1/64
  29. ListenPort = 51820
  30. PrivateKey = private
  31. Table = off
  32. [Peer]
  33. PublicKey = peer
  34. AllowedIPs = fe80::2