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.

29 lines
691B

  1. wireguard:
  2. interfaces:
  3. wgtest:
  4. listen_port: 1337
  5. fwmark: 0x1
  6. private_key: secret
  7. preshared_key: secret
  8. peers:
  9. wgtest:
  10. -
  11. peer: 1ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  12. endpoint: '127.0.0.1:1338'
  13. allowed_ips:
  14. - 10.0.0.2/32
  15. - 'fdff::2/128'
  16. persistent_keepalive: 25
  17. -
  18. peer: 2ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=
  19. endpoint: '127.0.0.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. set_forward_interfaces:
  26. - all
  27. - wgtest