Skip to content

hdu-dn11/wg-quick-op

Repository files navigation

wg-quick-op

Go Report Card

based on wg-quick-go, but with more feature for openwrt

why not use luci-app-wireguard? because it's not enough for dn11.

What's new?

  • 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)

Other changes

  • config in workdir is ignored, only /etc/wireguard is supported
  • arg iface is removed

How to use?

use just like using wg-quick is ok.

For additional feature, you may follow the steps below:

  1. run wg-quick-op install to install wg-quick-op
  2. run service wg-quick-op enable to enable service
  3. run service wg-quick-op start to start service
  4. edit /etc/wg-quick-op.yaml to config the interface that you want to start with system or needs ddns resolve
  5. run service wg-quick-op restart to restart service and apply config