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.

README.md 1.1KB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
1234567891011121314151617181920212223242526272829303132333435363738
  1. # wireguard-formula
  2. This formula is supposed to install WireGuard (usually dkms and utils), and
  3. create interfaces including peers. Configuration is done via pillar (see below).
  4. **Attention**: WireGuard is not yet included in the linux mainline kernel. Also,
  5. the installation is different on every distribution and sometimes you even have
  6. to include unstable/testing branches. For now, please
  7. [install WireGuard](https://www.wireguard.com/install/) yourself. You can use
  8. this formula afterwards.
  9. # Installation
  10. See the full [Salt Formulas installation and usage instructions](http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html).
  11. # Configuration
  12. All configuration is done via pillar data. See `pillar.example` for examples.
  13. This means in particular, that you do not have to use any of the following
  14. states youself.
  15. # Available states
  16. ## `wg.present`
  17. Creates a wireguard interface and sets interface-wide parameters.
  18. ## `wg.peer_present`
  19. Adds a peer to an interface and sets peer-specific parameters.
  20. ## `wg.absent`
  21. Removes a wireguard interface.
  22. ## `wg.peer_absent`
  23. Removes a peer from an interface.