Maximilian Eschenbacher
603b816e28
Check for missing privkey extended
преди 3 години
Bernhard M. Wiedemann
f4ddd81e56
Fail apply without private key
to not accidentally overwrite a working config
with a line
PrivateKey = None
(cherry picked from commit 825c5b5cc7
)
преди 3 години
Michal Hrušecký
a2ee53f07b
Allow more complex installation in various scenarios
In some distributions package is not wireguard. In older distribution,
kernel module might be in different package. And for some distributions,
additional repositories might be needed and those might depend on
architecture. So making sure all that is possible and adding example
from SUSE family.
преди 4 години
Michal Hrusecky
c2f27e81f7
Make sure directories for config files exists
преди 4 години
Wild Kat
014503920c
iterate in a manner compatible with salt-ssh
преди 5 години
Maximilian Eschenbacher
09dd3e03c6
refactor pillar config format
преди 5 години
Maximilian Eschenbacher
06cd3092d6
pass whole dict to wg.conf
преди 5 години
Maximilian Eschenbacher
ac192ecaf1
template: jinja
преди 5 години
Maximilian Eschenbacher
7794ca6736
document interface delete and enable keys
преди 5 години
Maximilian Eschenbacher
c838984da2
interface:config is not required if enable: False
преди 6 години
Maximilian Eschenbacher
08872d2a83
rewrite for simple quick and dirty use
преди 6 години
Maximilian Eschenbacher
aa2099ae9a
preshared_key is a per-peer option
this commit also handles removal of preshared keys. Fixes #5 .
преди 6 години
Maximilian Eschenbacher
afa0eb9baf
do not install wireguard via salt
преди 6 години
Maximilian Eschenbacher
4272b14728
refactor/simplify peer configuration
преди 6 години
Maximilian Eschenbacher
56f8f7c645
optionally set int.forward=1 via sysctl
преди 6 години
Maximilian Eschenbacher
f22443287e
quote endpoint value
преди 6 години
Maximilian Eschenbacher
91a21e2e40
Import
преди 6 години