fabianishere / udm-kernel

Custom Linux kernels for the UniFi Dream Machine
https://github.com/fabianishere/udm-kernel-tools
Other
127 stars 10 forks source link

Where is WireGuard #12

Closed shaft8472 closed 2 years ago

shaft8472 commented 2 years ago

Hello,

I've installed the latest pre-built kernel and it loads on boot.

root@ubnt:/# uname -a
Linux ubnt 4.19.152-edge3 #1 SMP Wed Dec 22 09:14:38 UTC 2021 aarch64 GNU/Linux

I was under the impression that WireGuard was included in this kernel. I'm not quite sure how to start WireGuard and run it in-kernel. I'm not quite sure what my next step is, can someone give me some pointers?

(The end goal is a split vpn for one client.)

fabianishere commented 2 years ago

WireGuard is included as a kernel module. You can load it as follows:

modprobe wireguard
fabianishere commented 2 years ago

Note that WireGuard is also included in the latest (beta) firmware from Ubiquiti.

shaft8472 commented 2 years ago

Note that WireGuard is also included in the latest (beta) firmware from Ubiquiti.

Now that is some good news. Will take a look!

fabianishere commented 2 years ago

To clarify, that is only the WireGuard kernel module that is shipped with the latest (beta) firmware. No UI support or anything.