0
0
mirror of https://github.com/openwrt/packages.git synced 2025-03-14 15:47:34 +00:00
Nick Hainke 69c81790d1 wg-installer: rework code
Use shellcheck to rework the code. Use "export" to return variables from
a function call. Further, fix typos.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-20 02:04:50 +01:00

16 lines
392 B
Plaintext

config server
option port_start '51820'
option port_end '52820'
option base_prefix_ipv4 '10.0.0.1/24'
option base_prefix_ipv6 '2002::/64'
option wg_key '/root/wg.key'
option wg_pub '/root/wg.pub'
option wg_tmp_key '1'
option timeout_handshake '600'
config babeld_hotplug
option rxcost '1024'
config olsrd_hotplug
option LinkQualityMult 'default 0.1'