warpme / miniarch

ArchLinux ARM SD card images for quick start with ArchLinux on ARM SBC & TV Boxes
GNU General Public License v2.0
85 stars 7 forks source link

How to add WireGuard support? #56

Open bubnenkoff opened 2 weeks ago

bubnenkoff commented 2 weeks ago

It seems that miniArch do not have WireGuard in kernel. I tried to read how to recompile kernel with WireGuard support, but it was very hard for me.

Could you add WireGuard support or explain how can I reconfigure kernel to its support?

warpme commented 1 week ago

Hi, I added WireGuard in 6.10.10 kernel. Pls update MiniAarch artefacts and report how it goes :-)

bubnenkoff commented 1 week ago

Thanks! Should I update with pacman or should I use start?

warpme commented 1 week ago

pls go with start (start does special things needed to update kernel)

bubnenkoff commented 1 week ago

Thanks! I did it. The final goals was to get Amnezia-wg works. But I faced with 2 problems:

  1. Afaik there is user space implementation https://github.com/amnezia-vpn/amneziawg-go But after every running it it claim me that I should use kernel module https://github.com/amnezia-vpn/amneziawg-linux-kernel-module (it seems that it detect that kernel support it). 1.1 If I right understand amneziawg-go should works if WG is present in Linux kernel (now it's present).

  2. But kernel module require source codes for it's compiling and I do not know where to get them.