Commit Graph

5 Commits

Author SHA1 Message Date
Stepan Henek
f42f3c8e9c wireguard-tools: add uci option to disable wireguard peers
Right now when I want to temporarily disable wg peer I need to delete
the entire peer section. This is not such a good solution because I
loose the previous configuration of the peer.

This patch adds `disabled` option to peer config which causes that
the config section is ignored.

Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
[use $(AUTORELEASE)]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-26 23:43:14 +08:00
Aaron Goodman
c1b03e64ab wireguard-tools: add tunlink option for hostroute
In a multi-wan setup, netifd may need guidance on which wan device to
use to create the route to the remote peer.

This commit adds a 'tunlink' option similar to other tunneling interfaces
such as 6in4, 6rd, gre, etc.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-31 11:07:20 +08:00
Adrian Schmutzler
70a82a1f32 wireguard-tools: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-12 11:54:55 +08:00
CN_SZTL
007c7d3956
wireguard: skip peer config if public key of the peer is not defined 2020-01-21 14:34:24 +08:00
CN_SZTL
b324b16d46
wireguard: bump to 20191226 2020-01-01 16:04:12 +08:00