What's pfsense OpenVPN Speed difference between AES-CBC and AES-GCM? 128 VS 256?

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

Комментарии • 22

  • @psycl0ptic
    @psycl0ptic 3 года назад +1

    how about chachapoly?

  • @lbeckm3
    @lbeckm3 5 лет назад

    Great video, really appreciate uploads like this! Keep them coming! I've been running pfsense for a couple years, rarely need to vpn back into my own network but this shows exactly what kind of ciphers to use and speed to expect.

  • @SM121982
    @SM121982 5 лет назад

    My pfSense box is running on a 4690K, so I use AES-256-GCM simply because I can. Maximum download through PIA on speed test was 839Mbps, upload 915Mbps. These speeds were achieved by configuring a load-balanced gateway to two PIA servers.

  • @WarpedFlayme
    @WarpedFlayme 5 лет назад

    Tom, 9:15 The description of the "Use a TLS Key" option says it only affects the Control Channel, not the Data Channel. The data channel is protected by the cipher suites you're testing. This would mean that your comment at 10:08 is inaccurate. You would have no protection at all for the actual data you're moving across the tunnel, just for the control channel.
    Unless I've misunderstood something myself.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      you are not reading the second line:
      "Encryption and Authentication mode also encrypts control channel communication, providing more privacy and traffic control channel obfuscation."
      I have it set to TLS Encryption and Authentication which means the data is encrypted twice, once by tls-crypt and once by the TLS session.

    • @WarpedFlayme
      @WarpedFlayme 5 лет назад

      @@LAWRENCESYSTEMS Doesn't the line "The TLS Key does not have any effect on tunnel data." mean exactly that, no matter which mode "TLS Key Usage Mode" is set to? The line that you have quoted still only applies to the control channel, not the data channel (the tunnel) since "TLS Key Usage Mode" is a sub-setting to "Use a TLS Key".
      "Authentication Mode" means that the control channel cannot be spoofed, but it is not encrypted at all.
      "Authentication and Encryption" adds a layer of encryption to the session negotiation.
      It sounds like this has nothing to do with the data channel/tunnel that the actual VPN traffic moves over. The data channel/tunnel is encrypted by the selection of an encryption algorithm (at 10:08 in this video).
      Either that or the wording of the setting descriptions just isn't logical to me; I can't say I'm speaking with any authority. Certainly don't mean to question your experience, just trying to understand how OpenVPN config actually works.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      community.openvpn.net/openvpn/wiki/GettingStartedwithOVPN

  • @xephael3485
    @xephael3485 5 лет назад +2

    @Lawrence Systems / PC Pickup CBC shouldn't be used anymore. Just CTR...most vendors are removing it by default because it's weakened.

  • @X4R4X
    @X4R4X 3 года назад

    tnx
    can you test CAMELLIA-128-CBC vs AES-128-GCM ???

  • @absolutehosting
    @absolutehosting 5 лет назад +1

    Just updated my pfsense config after watching this, Thanks for all of your helpful videos Tom

  • @colt1596
    @colt1596 5 лет назад

    Thank you!!

  • @MainelyElectrons
    @MainelyElectrons 5 лет назад +1

    I was literally just trying to figure this out, thank you for the clarification!

  • @jayextarys8616
    @jayextarys8616 5 лет назад

    I love your videos, thank you! But, I don't understand where is the Pi in this story.

  • @Baker00552
    @Baker00552 5 лет назад

    Can someone explain me why we got totally different results? We tested site 2 site vpns between 2 sg-3100 (on LAN) an cbc was performing much better here. Tested with notebooks behind each pfsense. Pfsenses connected directly with each other on the wan interface.

    • @EGL24Xx
      @EGL24Xx 3 года назад +1

      The netgate routers at or below sg-3100 have hardware accelerated CBC. The routers at or above sg-5100 have hardware accelerated GCM. GCM is more secure but more computationally expensive.

  • @berndeckenfels
    @berndeckenfels 5 лет назад

    Does the PI have AES hardware acceleration? Can you also test it with a recent x86 CPU.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 лет назад

      I was only using The raspberry pi to use iperf, not the encryption

    • @berndeckenfels
      @berndeckenfels 5 лет назад

      Lawrence Systems / PC Pickup oh ok, so you used the notebook as the VPN Client, missed that. That makes more sense, sounded ridiculous fast for a pi

  • @xephael3485
    @xephael3485 5 лет назад +7

    You're not a cryptographer? Really? 🤣😂

  • @metallisticate
    @metallisticate 5 лет назад

    256 can be a slower but it's hard to understand the speed of connection.