OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« previous next »
  • Print
Pages: [1] 2 3 ... 7

Author Topic: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it  (Read 46897 times)

TheLinuxGuy

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
    • View Profile
Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« on: January 19, 2021, 06:34:10 am »
Hi,

I'm wondering if the 21.1 version may have the kernel module for wireguard rather than the golang version?

It seems like FreeBSD 13 will have it soon if https://www.phoronix.com/scan.php?page=news_item&px=FreeBSD-WireGuard-Lands is accurate.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #1 on: January 19, 2021, 08:57:01 am »
Maybe 21.7 or 22.1 .. it depends on how fast backporting while be done.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #2 on: January 19, 2021, 09:05:00 am »
See https://forum.opnsense.org/index.php?topic=20947.msg97702#msg97702
« Last Edit: January 19, 2021, 10:00:44 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17746
  • Karma: 1620
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #3 on: January 19, 2021, 10:01:37 am »
@Greelan: I stripped the taptalk redirect URL for the direct link. But thanks for linking, otherwise I would have done it :)


Cheers,
Franco
Logged

TheLinuxGuy

  • Newbie
  • *
  • Posts: 42
  • Karma: 1
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #4 on: January 19, 2021, 09:41:01 pm »
Quote from: franco on January 19, 2021, 10:01:37 am
@Greelan: I stripped the taptalk redirect URL for the direct link. But thanks for linking, otherwise I would have done it :)


Cheers,
Franco

great thanks for the link. So if pfsense 2.5 includes it in FBSD 12 that would translate to opnsense adding it as well in the current FreeBSD 12 release and thus possibly coming on 21.1?
Logged

JeGr

  • Hero Member
  • *****
  • Posts: 1945
  • Karma: 227
  • old man standing
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #5 on: January 20, 2021, 01:17:23 am »
I think 21.1 would be hard to match, wouldn't it? Franco?

Otherwise with screenshots already posted by Netgate about Wireguard Kernel Module hitting the next pfSense 2.5 Snapshots (https://www.netgate.com/blog/wireguard-for-pfsense-software.html) I suppose backporting to FreeBSD 12.x stable should be almost (or already?) done :) Sooo perhaps we'll see it later on in 21.1.x or 21.7?

Looking forward to the first benchmarks between the three in a S2S scenario :)
Logged
"It doesn't work!" is no valid error description! - Don't forget to [applaud] those offering time & brainpower to help you!
Better have some *sense as no(n)sense! ;)

If you're interested in german-speaking business support, feel free to reach out via PM.

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #6 on: January 20, 2021, 06:45:41 am »
If I rememeber correctly, Olivier tested it on FBSD13 and it was around 2,9Gbit while IPsec 2,6Gbit or so
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17746
  • Karma: 1620
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #7 on: January 20, 2021, 09:09:59 am »
21.1 is next week and more or less in freeze mode so that is a little out of scope, but 21.1.x seems possible if we can motivate Michael to bring this one home. ;)


Cheers,
Franco
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #8 on: January 20, 2021, 09:11:26 am »
I'm all in  8)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

JeGr

  • Hero Member
  • *****
  • Posts: 1945
  • Karma: 227
  • old man standing
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #9 on: January 20, 2021, 02:41:17 pm »
That sounds promising - both 21.1.x and the estimated throughput ;) Could put many IPsec scenarios out of business if you control both ends ;)
Logged
"It doesn't work!" is no valid error description! - Don't forget to [applaud] those offering time & brainpower to help you!
Better have some *sense as no(n)sense! ;)

If you're interested in german-speaking business support, feel free to reach out via PM.

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6935
  • Karma: 584
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #10 on: January 20, 2021, 03:17:00 pm »
Quote from: JeGr on January 20, 2021, 02:41:17 pm
That sounds promising - both 21.1.x and the estimated throughput ;) Could put many IPsec scenarios out of business if you control both ends ;)
In one of our offices even wireguard-go already does. Throughput limited by provider bandwidth, delay *much* better than any other VPN protocol I tried.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #11 on: January 20, 2021, 03:47:29 pm »
I did these tests with older Intels (without microcode updates) and wireguard-go was really close to IPsec (compared to OpenVPN):

https://www.routerperformance.net/comparing-opnsense-vpn-performance/
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

FingerlessGloves

  • Full Member
  • ***
  • Posts: 114
  • Karma: 11
    • View Profile
    • FingerlessGloves
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #12 on: January 21, 2021, 09:55:12 am »
Quote from: mimugmail on January 20, 2021, 09:11:26 am
I'm all in  8)

Where do I donate beer money or late late `git push` energy drinks  :P
« Last Edit: January 21, 2021, 09:59:03 am by Jonny »
Logged
Adventuring through internet pipes
My Blog

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17746
  • Karma: 1620
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #13 on: January 22, 2021, 07:19:29 pm »
I have to disappoint, but Bavaria already has all the beer in the world to push through.  ;D


Cheers,
Franco
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
« Reply #14 on: January 22, 2021, 08:46:25 pm »
Just discovered I have a small brewery nearby. Bergfeld Beer :)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1] 2 3 ... 7
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • Native-kernel wireguard support for 21.1 feasible? FreeBSD 13 may have it
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2