wg-quick-op

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:
- 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
Update & Security Notice
This project provides an optional update command for convenience.
When executing wg-quick-op update, the tool may connect to the network to check for and download a newer release, and replace the local executable file. By default, the update process may attempt to fetch releases from a person-maintained mirror (maintainer: GitHub ID macarons-s, community ID Macarons, ASN AS4211110722), and fall back to the official GitHub Releases if the mirror is unavailable.
Users can explicitly control the update source:
Using the update command is entirely optional. Users may also choose to download and install new versions manually.
Please be aware that downloading and executing binaries from the network involves inherent supply-chain and network security risks. By choosing to use the update functionality, you acknowledge and accept these risks and are responsible for evaluating whether the update source and network environment are trusted.
If you have specific security requirements, it is recommended to avoid using the update command and rely on manual installation or a self-managed update workflow.
Project DN11
这个项目是去中心化网络 DN11 的一部分。
This repo now included in Project DN11, a decentralized network.
