packages/net/wg-installer/wg-server/config/wgserver.conf
Nick Hainke 36dc9b3f79 wg-installer: delete old interfaces
Add "wg_check_interfaces" and specify a timeout in the config file.
This allows to delete not used wireguard-interfaces automatically.

For example a cronjob can be installed that calls:
  . /usr/share/wginstaller/wg_functions.sh && wg_check_interfaces

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-03-14 11:27:07 +01:00

7 lines
208 B
Text

config server
option port_start '51820'
option port_end '52820'
option base_prefix '2002::/64'
option wg_key '/root/wg.key'
option wg_pub '/root/wg.pub'
option timeout_handshake '600'