• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Hardware encryption on Netgate 3100 with pfSense Plus 23.01, using OpenVPN

Scheduled Pinned Locked Moved OpenVPN
5 Posts 3 Posters 775 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    sgw
    last edited by Feb 24, 2023, 9:13 AM

    Yesterday I upgraded a Netgate 3100 at a customer. Had to apply that one fix with the modules, and upgrade packages, otherwise it went OK.

    Now I wanted to check for crypto. Did the setting for crypto disappear with this upgrade?

    The dashboard tells me: "Hardware crypto AES-CBC,SHA1,SHA256"

    The main OpenVPN server we run looks like this:

    Data Ciphers: AES-256-GCM
    Digest: SHA256
    D-H Params: 2048 bits
    

    Does that mean we don't use hardware crypto currently? To me it looks like that.

    Ah, and even inside the ovpn-server config I have "No Hardware Crypto Acceleration". And only three AES-xxx-CBC ciphers to choose with hw crypto.
    I was quite sure to have enabled hw crypto when setting this up. Maybe something changed, maybe I was wrong.

    M 1 Reply Last reply Feb 24, 2023, 12:05 PM Reply Quote 0
    • G
      gandalf33
      last edited by gandalf33 Feb 24, 2023, 12:05 PM Feb 24, 2023, 12:03 PM

      Have you enabled DCO ? DCO requires GCM which your hardware crypto doesn't handle.

      S 1 Reply Last reply Feb 24, 2023, 6:57 PM Reply Quote 0
      • M
        mcury @sgw
        last edited by mcury Feb 24, 2023, 12:06 PM Feb 24, 2023, 12:05 PM

        @sgw It seems that openvpn is no longer accelerated by the SG-3100 crypto engine.

        You can read more about it at:
        https://forum.netgate.com/topic/171261/openvpn-and-sg-3100-crypto-support/7
        https://www.mail-archive.com/freebsd-stable@freebsd.org/msg136970.html

        dead on arrival, nowhere to be found.

        S 1 Reply Last reply Feb 24, 2023, 6:58 PM Reply Quote 0
        • S
          sgw @gandalf33
          last edited by Feb 24, 2023, 6:57 PM

          @gandalf33 No DCO enabled yet, no.

          1 Reply Last reply Reply Quote 0
          • S
            sgw @mcury
            last edited by Feb 24, 2023, 6:58 PM

            @mcury Oh, interesting (and sad).

            I was able to enable CBC ciphers in the OpenVPN server and choose hw crypto for that as well. Can't tell if it works though. We will test and monitor CPU load etc for a check.

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received