Development discussion of WireGuard
 help / color / mirror / Atom feed
* Running WireGuard on embedded devices with older kernel versions
@ 2018-02-14 17:31 Jacob Schooley
  2018-02-16 22:27 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Schooley @ 2018-02-14 17:31 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

I have a few verizon mobile hotspots and think this would be a perfect
place to implement wireguard. The only problem is the kernel versions
included with these hotspots:

- Novatel 5510 and Pantech MHS291 (also the Pantech UML290 USB stick) run
3.0.x
- Novatel 6620 runs 3.4.0

Also, I don't think they include CONFIG_NET_UDP_TUNNEL. Lots of proprietary
modules so the kernel can't be replaced without Novatel's sources.

These can be found pretty cheap on ebay and craigslist. I've heard the
newer ones, Netgear 791 and Novatel 7730 run 3.10 or newer, but I haven't
found any for a decent price.

OpenVPN can be run on these, but maxes out around 10mbps due to CPU
limitations.

Is there any way to run wireguard on older kernels and without this config
option?

[-- Attachment #2: Type: text/html, Size: 1413 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Running WireGuard on embedded devices with older kernel versions
  2018-02-14 17:31 Running WireGuard on embedded devices with older kernel versions Jacob Schooley
@ 2018-02-16 22:27 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2018-02-16 22:27 UTC (permalink / raw)
  To: Jacob Schooley; +Cc: WireGuard mailing list

Hi Jacob,

Technically this could be done; there are other ways of hooking into
the networking stack other than the udp tunnel API. However, in
practice, my time is probably spent working for the future rather than
the past. Supporting 26 (!!) versions of Linux, back to 3.10, was
already quite the undertaking... But if you'd like to do this and send
some code upstream, I'll take patches. Take a look at src/compat.h for
some hints on how to proceed.

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-16 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 17:31 Running WireGuard on embedded devices with older kernel versions Jacob Schooley
2018-02-16 22:27 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).