[Feature request] Replace Wireguard with AmneziaWG

Using Amnezia might help, but Windscribe is a well known VPN provider and is probably blocked by IP. Then using a diffferent protocol will not help at all.

If the Windscribe website supports exporting the AmneziaWG profile, you can manually export a profile that supports AmneziaWG and upload it to the router.
When the WG client establishes the tunnel, it will automatically detect the profile and enable AmneziaWG if it included the confusion parameter.

For the OP24 series firmware, AmneziaWG official supports maybe in v4.9 or v4.10.

AmneziaWG supported in WireGuard Client, you can execute this command to check whether your WG tunnel is enabled AmneziaWG: ip -d link show wgclient1

1 Like

There is snapshot version for Slate7. But AmneziaWG official supports maybe in v4.9 or v4.10.

Как ее получить?! Где ее скачать?! How to get it?!)

I am a Windscribe VPN subscriber and got the AmneziaWG credential from them. I created a config file and activated the client of my Flint2. When I SSHed into the router and ran the command, my results were like Bruce’s with AmneziaWG appearing in the response. When I connected to a non-Amnezia Windscribe node, the ‘amneziawg’ was replaced with ‘wireguard’.

I can only conclude that the AmneziaWG option at Windscribe works with my Flint2 as advertized. I am located in the US so my only reason for testing this was personal curiosity. Hope this helps someone located where it matters.

https://windscribe.com/yo/9ql0urvf

2 Likes

Any luck with that? I also have combo AXT1800/AX1800 and need to manually deploy Amnezia WG to those routers? I used to have plain Open VPN protocol and it was working fine until recent changes here in Russia

1 Like

Hello guys. I have following set up AX1800 as a server for Wireguard(in US) and AXT1800 as a client in Russia. Do we have a way manually deploy packages for AmneziaWG in Luci? I know ppl discussed here how to do it for MT-3000 (Beryl) [Feature request] Replace Wireguard with AmneziaWG - #124 by vanstr but no one discussed for AX1800. Is it possible or we have to wait for official support fro GL Inet?

I was going over instruction steps and see I need following files, but where can I get those for AX1800 and AXT1800?

Download AmneziaWG Packages: On your computer, download the following AmneziaWG packages from the Amnezia GL.iNet MT-3000 releases page for firmware version 4.6.6:

  • kmod-amneziawg_4.6.6.ipk

  • amneziawg-tools_4.6.6.ipk

  • luci-proto-amneziawg_4.6.6.ipk

Sorry, it hasn’t been compiled yet. BE3600 will be supported in release v4.9, please wait.

There are no such packages in the repo of glinet or openwrt.

You can find the related installation packages in the AmneziaWG Docs.

1 Like

Best is to compile it your own.

Flint 1 has made its entrance as firmware into OpenWrt.

The issue is the amnezia team tried to submit a PR but it got halted, questioned for maintenance/abandoned reasons on future scope.

However you can still grab these sources and compile it yourself, that is what I do :+1:

This is how I do it I add the git repo to my feeds:

Note the github repo is not the official amnezia repo, however I found it more maintained especially for some issues I had with compiling it, fixed dependencies and makefile versions, if your toolchain is correct it will be possible to compile, but you need to be sure make toolchain/install has been called before compiling or the packages may appear missing, it is a tricky one to be honest.

P.s the link to my builder I don't advise to build from the image builder from my repo use OpenWrts, it will generate very personal configurations for my own, but it is there for learning purposes or to having a extreme lab setup fast which can challenge for finding strange issues within the OpenWrt firmware.

1 Like

will the mt300 also get amnezia upgrade ?

regards

Any thoughts on error that I’m getting during the build process?

These are values that I’m using for AX1800 router:
target/subtarget: ipq60xx/generic
tag: 23.05.0
vermagic: fcb9998d2791e1b338dfc43d7410e143
pkcgarch: aarch64_cortex-a53_neon-vfpv4

and following error during build process:

cd amneziawg-openwrt
+ make show-env
cat: '/home/runner/work/awg-openwrt/awg-openwrt/openwrt/build_dir/target-aarch64_cortex-a53_neon-vfpv4*/linux-ipq60xx_generic/linux-*/.vermagic': No such file or directory
SHELL                 /bin/sh
SELF                  /home/runner/work/awg-openwrt/awg-openwrt/amneziawg-openwrt/Makefile
TOPDIR                /home/runner/work/awg-openwrt/awg-openwrt/amneziawg-openwrt
UPPERDIR              /home/runner/work/awg-openwrt/awg-openwrt
OPENWRT_SRCDIR        /home/runner/work/awg-openwrt/awg-openwrt/openwrt
AMNEZIAWG_SRCDIR      /home/runner/work/awg-openwrt/awg-openwrt/amneziawg-openwrt
AMNEZIAWG_DSTDIR      /home/runner/work/awg-openwrt/awg-openwrt/awgrelease
GITHUB_SHA            ba10fbbd032650622950d780fb61eacb7612e0cb
fatal: No names found, cannot describe anything.
VERSION_STR           (undefined)
POSTFIX               23.05.0_aarch64_cortex-a53_neon-vfpv4_ipq60xx_generic
GITHUB_REF_TYPE       branch
GITHUB_REF_NAME       master
WORKFLOW_REF          master
OPENWRT_RELEASE       23.05.0
OPENWRT_ARCH          aarch64_cortex-a53_neon-vfpv4
OPENWRT_TARGET        ipq60xx
OPENWRT_SUBTARGET     generic
OPENWRT_VERMAGIC      fcb9998d2791e1b338dfc43d7410e143
OPENWRT_BASE_URL      https://downloads.openwrt.org/releases/23.05.0/targets/ipq60xx/generic
OPENWRT_MANIFEST      https://downloads.openwrt.org/releases/23.05.0/targets/ipq60xx/generic/openwrt-23.05.0-ipq60xx-generic.manifest
NPROC                 4
FINAL_VERMAGIC        (undefined)
+ make build-toolchain
cat: '/home/runner/work/awg-openwrt/awg-openwrt/openwrt/build_dir/target-aarch64_cortex-a53_neon-vfpv4*/linux-ipq60xx_generic/linux-*/.vermagic': No such file or directory
+ curl -fsL https://downloads.openwrt.org/releases/23.05.0/targets/ipq60xx/generic/feeds.buildinfo
+ tee /home/runner/work/awg-openwrt/awg-openwrt/openwrt/feeds.conf
+ curl -fsL https://downloads.openwrt.org/releases/23.05.0/targets/ipq60xx/generic/config.buildinfo
make: *** [Makefile:139: /home/runner/work/awg-openwrt/awg-openwrt/openwrt/.config] Error 22
real 0.55
user 0.07
sys 0.01
Error: Process completed with exit code 2.

MT300/Mango may not support Amnezia.

ping @xize11 :wink:

Is this on WSL?

WSL will have some issues with windows file separators and home paths.

The only other error i see is the vermagic missing, the error can be possible due to this.

Honestly I have not alot of experience with vermagic I do know @xa0c has.

This how I compile without the vermagic things:

./scripts/feeds update -a
./scripts/feeds install -a
make defconfig -j8 # apply .config and recheck all feeds
make download -j8
make toolchain/install -j8
make -j8

Instead of make defconfig use make menuconfig to ensure packages are selected, I normally copy the diffconfigs before.

I did not use WSL. I followed the instructions shared above and ran everything using GitHub Actions. However, it looks like I’m getting these errors because OpenWrt does not have the aarch64_cortex-a53_neon-vfpv4 target, and the link does not exist:
https://downloads.openwrt.org/releases/23.05.0/targets/ipq60xx/generic

@xize11 , you shared a link about building packages on your own. Could you please provide more details on how to create the following packages your way :slight_smile: :
amneziawg-tools, kmod-amneziawg, and luci-app-amneziawg?

When will version 4.9 be released, or at least a beta snapshot? for axt1800

2 Likes

it may support the go implementation with a custom tools script just like my user build I built for Opal, it needs investigation. Regardless, I recommend buying MT3000 and above if you want awg.

1 Like

Hello,

The v4.9 is expected to be released in early Q2 or Q3.

The AXT1800 will support upgrading to v4.9, but it may be included in the second batch, a bit later than the first that received the firmware upgrade.

3 Likes