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.

pillar.example 954B

6 yıl önce
6 yıl önce
123456789101112131415161718192021222324252627282930
  1. wireguard:
  2. interfaces:
  3. wgtest:
  4. listen_port: 51820
  5. # fwmark: 0x1
  6. private_key: secret
  7. # preshared_key: secret
  8. peers:
  9. - peer: 1ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  10. # the note: will not go into wireguard configuration
  11. # it enables you to label peers
  12. note: some_note
  13. endpoint: '10.42.0.0:1338'
  14. allowed_ips:
  15. - 10.0.0.2/32
  16. - 'fdff::2/128'
  17. persistent_keepalive: 25
  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