Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
(Nano-Pi R4S) Wireguard Kernel Module On ARM?
« previous
next »
Print
Pages: [
1
]
Author
Topic: (Nano-Pi R4S) Wireguard Kernel Module On ARM? (Read 1411 times)
coreyo
Newbie
Posts: 2
Karma: 0
(Nano-Pi R4S) Wireguard Kernel Module On ARM?
«
on:
September 29, 2021, 07:50:29 am »
I picked up a 4GB Nano-Pi R4S a little while back (RK3399 SoC based ARM v8-A 64-bit board) and I'm using custom 21.7 OPNSense image and repository from PersonalBSD.org here:
https://personalbsd.org/
https://personalbsd.org/?page_id=2
(downloads)
The device itself is great, and much appreciation for the maintainer of this image and repository. Unfortunately, I have found no identifying information and no way to contact them. Most everything seems to be working just fine and all of the necessary packages are present except for one. The reason that I purchased the Nano-Pi was because it is one of the few little devices capable of handling wireguard encryption above and beyond my internet speeds. Unfortunately, neither the default image nor the default wireguard package includes the kernel module. This means that the encryption/decryption over the VPN is all running in userspace land which is significantly slower. On other setups, installing the wireguard-kmod package improved my throughput speeds by as much as a factor of 10. My current throughput averages around 110 Mbps (that's pretty impressive for a little ARM cortex device running in userspace), but I've seen kernel space benchmarks posted that have it topping out at around a gigabit. In the meantime, my internet speeds are suffering from throttling.
Here's a link to the wireguard-kmod project:
https://fingerlessgloves.me/2021/03/31/hello-wireguard-kmod-on-opnsense/
Would it be possible to compile my own wireguard kernel module for this architecture? If so, what would I need and can anyone kindly point me in the right direction? Can it be done directly on the device itself, or would I need to set up cross-compiling on one of my Linux boxes? Thanks in advance for any help.
«
Last Edit: September 29, 2021, 10:03:36 am by coreyo
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
(Nano-Pi R4S) Wireguard Kernel Module On ARM?