Merge main into the IPv6 certificate branch

install.sh conflicted where the branch made a failed config_after_install
abort the installer. Resolved to main's flow: the installer carries on and
sets up fail2ban, as it did before this branch.
This commit is contained in:
Sanaei
2026-11-29 17:29:15 +03:30
656 changed files with 58136 additions and 7088 deletions
+9 -2
View File
@@ -21,8 +21,8 @@ TOOLS_REPO="https://github.com/amnezia-vpn/amneziawg-tools.git"
# Pinned to tested releases and verified by commit, since this runs as root.
# Module and tools must share the 3.x series: 1.0 tools send u32 H1-H4 and
# `awg setconf` then fails with "Invalid argument".
MODULE_TAG="v3.1.20260906"
MODULE_COMMIT="4569c4c67f3a57414969260cafbbd04694fbaae0"
MODULE_TAG="v3.1.20261113"
MODULE_COMMIT="6879e270797840b148cd71e7fe04d19f9ddbda96"
TOOLS_TAG="v3.1.20260812"
TOOLS_COMMIT="ee0f0a9aa34ff0a0da4b3433b9512781cfe02843"
@@ -65,6 +65,12 @@ log "Loading the module"
modprobe amneziawg
lsmod | grep -q '^amneziawg' || die "module did not load"
# The panel is sandboxed with ProtectKernelModules=yes, so the boot-time load
# has to come from modules-load.d; modprobe alone only lasts until reboot (#7186).
log "Loading the module at boot"
mkdir -p /etc/modules-load.d
printf 'amneziawg\n' > /etc/modules-load.d/amneziawg.conf
log "Building amneziawg-tools"
cd "$SRC_DIR/amneziawg-tools/src"
make
@@ -73,5 +79,6 @@ make install
log "Done"
printf ' module: %s\n' "$(dkms status -m amneziawg)"
printf ' tools: %s\n' "$(awg --version)"
printf ' boot: /etc/modules-load.d/amneziawg.conf\n'
printf '\nEnable "Kernel mode" on the AmneziaWG inbound in the panel to use it.\n'
printf 'DKMS rebuilds the module on kernel upgrades; Secure Boot hosts must sign it.\n'