based on wg-quick-go, but with more feature for openwrt
why not use luci-app-wireguard? because it's not enough for dn11.
- add
Table=off
option to disable auto create route table - use regexp to match config file name (use
wg-quick * up
to up all wg interfaces) - start with system (use /etc/init.d)
- DDNS check and update (use sync)
- config in workdir is ignored, only
/etc/wireguard
is supported - arg
iface
is removed
use just like using wg-quick is ok.
For additional feature, you may follow the steps below:
- run
wg-quick-op install
to install wg-quick-op - run
service wg-quick-op enable
to enable service - run
service wg-quick-op start
to start service - edit
/etc/wg-quick-op.yaml
to config the interface that you want to start with system or needs ddns resolve - run
service wg-quick-op restart
to restart service and apply config