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

    Chacha Cipher

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 7 Posters 1.3k Views 7 Watching
    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.
    • KOMK Offline
      KOM
      last edited by KOM

      pfSense is dependent on the underlying FreeBSD version. Chacha is included with FreeBSD 12, which pfSense 2.5.0 will be based on. Whether it will be exposed in WebGUI is another matter.

      https://ianix.com/pub/chacha-deployment.html

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        Where exactly are you wanting to use chacha - since I ssh to pfsense using chacha20 now..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07 | Lab VMs 2.8, 25.07

        1 Reply Last reply Reply Quote 0
        • T Offline
          TFTQKX
          last edited by

          On Airvpn servers through Netgate Pfsense firewall.

          1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator
            last edited by

            Yeah your going to have to wait for that..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07 | Lab VMs 2.8, 25.07

            1 Reply Last reply Reply Quote 0
            • jimpJ Offline
              jimp Rebel Alliance Developer Netgate
              last edited by

              With OpenVPN or IPsec?

              OpenVPN doesn't have support for those ciphers as far as I can see. Maybe in their development versions, but not what we're running.

              strongSwan appears to support it with some extra config and enabling a plugin, but there is no plan to support it in pfSense at the moment. I'm sure we'll get to it eventually, though.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • G Offline
                genuine
                last edited by

                well now it is supported and working for airvpn / openvpn configuration in pfsense 2.5 version

                1 Reply Last reply Reply Quote 0
                • stephenw10S Online
                  stephenw10 Netgate Administrator
                  last edited by

                  Have you tested it? Is it fast?

                  Looks to be x86 only currently.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    genuine
                    last edited by genuine

                    I'm Using the 64bit version in my testlab so it's for both versions
                    It is fast but don't really see big performance change because i'm using an AES-ni enabled cpu but don't see any bottleneck not using it. Its stable,more secure and TLS1.3 as for cpu performance it is the same as for cypher AES-256GCM Auth digest algorithm SHA 512 bit AES_NI enabled so for users without AES-NI would benefit of it and of course less overhead for VPN Providers /servers in the future if everyone using this cypher.
                    If you looking at the server side then I would say that you have less cpu overhead let say Half less.
                    I have an 1gb fiber connection @ 800 Mbps AES-256GCM AES-NI cpu enabled 10% cpu use
                    850 Mbps ChaCha20-Poly 15% cpu use
                    Its depended what system you are using for me its better but not huge
                    But also not a party breaker for not using it

                    1 Reply Last reply Reply Quote 0
                    • viktor_gV Offline
                      viktor_g Netgate
                      last edited by

                      I can see OpenVPN ChaCha20 support on the latest snapshot:
                      Screenshot from 2020-11-18 14-15-05.png

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Online
                        stephenw10 Netgate Administrator
                        last edited by

                        Yeah, I'm seeing it in all 2.5 snaps now. No idea what I was looking at earlier. Too many test boxes! ๐Ÿ™„

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.