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>
7 lines
208 B
Text
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'
|