Request: AmneziaWG kernel module (kmod-amneziawg) in the photonicatWrt package feed

Started by originxl

originxl

Hi,

I use a Photonicat 2 running photonicatWrt 26.04.1 (rockchip/armv8, kernel 6.12.91), with LTE as the uplink and an AmneziaWG tunnel to my own server.

Without AmneziaWG support, I'm unable to use the router in Russia. Plain WireGuard and OpenVPN are blocked there by DPI, and AmneziaWG is the de facto standard workaround. Many Photonicat users in Russia and other countries with DPI face the same problem.

Please add the AmneziaWG packages to the photonicatWrt feed, ideally starting with the upcoming apk-based release:

  • kmod-amneziawg
  • amneziawg-tools
  • luci-proto-amneziawg

They are out-of-tree packages, based on WireGuard, and are maintained for OpenWrt 23.05 through 25.12 here: https://github.com/Slava-Shchipunov/awg-openwrt

Prebuilt modules from that project don't load on photonicatWrt, because the module has to match your kernel build (vermagic). So it would need to be built in your build system.

Right now the only option on Photonicat is userspace AWG inside a proxy (Mihomo). On an LTE uplink it gets stuck after every connection drop and has to be restarted, and it won't scale to 5G or gigabit speeds. A kernel module would fix both problems.

If adding the packages isn't possible, publishing the OpenWrt SDK for each release would also help: then users could build the module themselves.

Thanks!

trackback

https://pastebin.com/ZWv0Z78F (exp. 1w)

Made script that compiles for the latest version of photonicatwrt:
1) https://github.com/Slava-Shchipunov/awg-openwrt
2) https://github.com/douglarek/mihomo-openwrt

Tested, and all works.

Sat Oct 10 03:59:14 2026 kern.info kernel: [  148.835680] amneziawg: AmneziaWG 3.1.20260812 loaded. See amnezia.org for information.
Sat Oct 10 03:59:14 2026 kern.info kernel: [  148.835688] amneziawg: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
Sat Oct 10 03:59:14 2026 kern.info kernel: [  148.835691] amneziawg: Copyright (C) 2024-2025 AmneziaVPN <[email protected]>. All Rights Reserved.
Sat Oct 10 03:59:14 2026 user.notice amneziawg: info: using kernel-space kmod-amneziawg for /usr/bin/awg

Want to reply to this topic?

Sign in to participate

Don't have an account? Sign up