New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Request: Wireguard #112
Comments
Wireguard requires kernel 3.10 or higher and a kernel module that cannot be built in Entware. |
I did not know that Entware is bind to a specific kernel version, but other then that there is also a "userspace version" which is described here: https://www.wireguard.com/xplatform/ |
Entware require kernel to equal or higher then used in Entware toolchain. wireguard-go is written in go language that is usually to heavy for embedded devices. Userspace wireguard version will certainly be slow. |
But no matter how slow it is, I think it still faster than openvpn. Openvpn are userspace implement, too. |
Some people report that wireguard-go is running fine on ASUS routers with old kernel, much faster then OpenVPN and consuming less resources... |
There is also boringun which is a userspace implementation of the wireguard protocol, written in rust. |
Finally, I decided to try wireguard-go on my RT-AC68U router with latest firmware from Merlin... -A POSTROUTING -o wg0 -j MASQUERADE I think, having 'wireguard-go' in entware repository is a good idea, since it's the only option to use wireguard on routers based on old kernels. UPD (2020-01-04): MaxSegmentSize = (1 << 16) - 1 // largest possible UDP datagram with (taken from device/queueconstants_android.go): MaxSegmentSize = 2200 This tweak to the wireguard-go code makes it use less RAM without visible impact on speed. |
would there potentially be something available for the GT-AC5300? or RT-AC5300? it would be great to have something to work off |
Entware package wireguard-go with low ram patch is ready for testing. Plz post your arch to get test package. |
ARMv7 Processor rev 0 (v7l) |
@herbi3 - plz post |
release=entware |
I guess this is your package - http://bin.entware.net/armv7sf-k2.6/t/wireguard-go_nohf_v0.0.20200121-1_armv7-2.6.ipk |
will give it a crack and report back |
Looks like this hasn't moved in a a long time, but I'd like to give it a try if possible. RT-AC88U
|
@aikinai - wireguard-go is not stable on old 2.6 kernels. It was removed. |
Oh okay, that's too bad. Thanks for the super quick response! |
Wireguard
As described here: Entware/Entware-ng#715
it might be a good alternative for OpenVPN or similar VPN providing tools.
Since a lot of boxes I know (Routers, NAS Systems and so on) have been updated to a more recent kernel "Entware is usually installed on hardware running 2.6 kernel." is not a thing anymore (in my opinion)
Plattform
QNAP
The text was updated successfully, but these errors were encountered: