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

    OpenVPN 2.5 released - Overview of changes

    Scheduled Pinned Locked Moved OpenVPN
    29 Posts 9 Posters 8.6k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      I found a few problems with how I was building the cipher list for pfSense 2.5.0/2.4.5 and OpenVPN 2.5.0/2.4.x. I just pushed a fix, it'll be up shortly and should hopefully work for everyone.

      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 2
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        And just when I thought I found them all, I came up with a couple more edge cases/incompatible cases that I addressed. New package is building and will be up shortly.

        Hopefully now it's impossible to create a config with an empty cipher set or incompatible ciphers. For example now you can't set CHACHA20-POLY1305 on legacy clients (OpenVPN 2.4.x and older)

        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 2
        • Bob.DigB
          Bob.Dig LAYER 8
          last edited by

          OpenVPN 2.5.1 โ€” Released 24 February, 2021

          The OpenVPN community project team is proud to release OpenVPN 2.5.1. It includes several bug fixes and improvements as well as updated OpenSSL and OpenVPN GUI for Windows.

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @Bob.Dig
            last edited by

            @bob-dig

            When will it be available for pfsense?

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

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

              @jknott said in OpenVPN 2.5 released - Overview of changes:

              When will it be available for pfsense?

              When its ready ;) heheh

              It just dropped today for gosh sake..

              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 24.11 | Lab VMs 2.8, 24.11

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

                After we have time to properly evaluate and test it. Looking at the changelog I didn't see much that looked like it would affect many people running pfSense (positive or negative).

                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
                • JKnottJ
                  JKnott @johnpoz
                  last edited by

                  @johnpoz said in OpenVPN 2.5 released - Overview of changes:

                  It just dropped today for gosh sake..

                  Well, what's taking so long? ๐Ÿ˜‰

                  Hopefully, it will fix the issues we're seeing.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

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

                    @jknott said in OpenVPN 2.5 released - Overview of changes:

                    it will fix the issues we're seeing.

                    Not seeing any issues, have both outbound to open access server. And inbound from different clients.. ZERO issues.. Both outbound and inbound working with zero need to do anything after upgrade.

                    If you had some odd config that was causing you problems with the new version of openvpn, not sure how upgrade to 2.5.1 openvpn is going to correct whatever current configuration issue you have.

                    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 24.11 | Lab VMs 2.8, 24.11

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @johnpoz
                      last edited by

                      @johnpoz

                      Initially, I used the config from the previous pfsense version, which worked there, but failed with 2.5.0. I then started a new config from scratch, which also didn't work. I can connect if my notebook is connected to my local LAN (yeah, real useful), but not if I connect from outside my network. This tells me the config for OpenVPN is correct, otherwise I couldn't connect at all, but something is preventing it from working from elsewhere. What that something is, I haven't a clue, as I have never seen anything like this before.

                      As I mentioned in another thread, I have been setting up VPNs for almost 20 years, going back to CIPE on Redhat Linux, but also IPSec in my work and OpenVPN on my home network, so I'm not exactly a newbie at this.

                      PfSense running on Qotom mini PC
                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                      UniFi AC-Lite access point

                      I haven't lost my mind. It's around here...somewhere...

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

                        Probably best to keep discussions of issues on their own threads. A lot changed in OpenVPN 2.5.0, and we tried to make the upgrade smooth, but there is only so much we can do for one side or the other to cope with the changes as well as to ensure we're not using deprecated features. There are some OS-level issues that can contribute to problems (like some reported issues with reply-to) but also some things are out of our control (like servers with unexpected data cipher lists that weren't used before, but are now).

                        Most of the individual threads I've seen have had a variety of misunderstandings but eventually got solved one way or another before I could chime in.

                        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 1
                        • Bob.DigB
                          Bob.Dig LAYER 8
                          last edited by

                          OpenVPN 2.5.2 released

                          It fixes two related security vulnerabilities (CVE-2020-15078) which under very specific circumstances allow tricking a server using delayed authentication (plugin or management) into returning a PUSH_REPLY before the AUTH_FAILED message, which can possibly be used to gather information about a VPN setup. In combination with โ€œโ€“auth-gen-tokenโ€ or a user-specific token auth solution it can be possible to get access to a VPN with an otherwise-invalid account. OpenVPN 2.5.2 also includes other bug fixes and improvements. Updated OpenSSL and OpenVPN GUI are included in Windows installers.

                          GertjanG 1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @Bob.Dig
                            last edited by

                            @bob-dig

                            Yeah, thanks. That will be good.
                            It's time for some new issues ;)

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            Bob.DigB 1 Reply Last reply Reply Quote 0
                            • Bob.DigB
                              Bob.Dig LAYER 8 @Gertjan
                              last edited by

                              @gertjan pfSense 2.5.2 is due anyways. ๐Ÿ˜

                              Bob.DigB 1 Reply Last reply Reply Quote 0
                              • Bob.DigB
                                Bob.Dig LAYER 8 @Bob.Dig
                                last edited by Bob.Dig

                                OpenVPN 2.5.3 released, working fine so far.

                                Bugfixes

                                CVE-2121-3606 see https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements
                                
                                OpenVPN windows builds could possibly load OpenSSL Config files from world writeable locations, thus posing a security risk to OpenVPN.
                                
                                As a fix, disable OpenSSL config loading completely on Windows.
                                
                                disable connect-retry backoff for p2p (--secret) instances (Trac #1010, #1384)
                                
                                fix build with mbedtls w/o SSL renegotiation support
                                
                                Fix SIGSEGV (NULL deref) receiving push "echo" (Trac #1409)
                                
                                MSI installers: properly schedule reboot in the end of installation
                                
                                fix small memory leak in free_key_ctx for auth_token
                                

                                User-visible Changes

                                update copyright messages in files and --version output
                                

                                New features

                                add --auth-token-user option (for --auth-token deployments without --auth-user-pass in client config)
                                improve MSVC building for Windows
                                official MSI installers will now contain arm64 drivers and binaries (x86, amd64, arm64)
                                
                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  bcruze @Bob.Dig
                                  last edited by

                                  @bob-dig said in OpenVPN 2.5 released - Overview of changes:

                                  OpenVPN 2.5.3 released, working fine so far.

                                  Bugfixes

                                  CVE-2121-3606 see https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements
                                  
                                  OpenVPN windows builds could possibly load OpenSSL Config files from world writeable locations, thus posing a security risk to OpenVPN.
                                  
                                  As a fix, disable OpenSSL config loading completely on Windows.
                                  
                                  disable connect-retry backoff for p2p (--secret) instances (Trac #1010, #1384)
                                  
                                  fix build with mbedtls w/o SSL renegotiation support
                                  
                                  Fix SIGSEGV (NULL deref) receiving push "echo" (Trac #1409)
                                  
                                  MSI installers: properly schedule reboot in the end of installation
                                  
                                  fix small memory leak in free_key_ctx for auth_token
                                  

                                  User-visible Changes

                                  update copyright messages in files and --version output
                                  

                                  New features

                                  add --auth-token-user option (for --auth-token deployments without --auth-user-pass in client config)
                                  improve MSVC building for Windows
                                  official MSI installers will now contain arm64 drivers and binaries (x86, amd64, arm64)
                                  

                                  Did you update Pfsense somehow?
                                  I would expect to see this in three months on the next version of plus?
                                  but I could be wrong

                                  Bob.DigB 1 Reply Last reply Reply Quote 0
                                  • Bob.DigB
                                    Bob.Dig LAYER 8 @bcruze
                                    last edited by

                                    @bcruze said in OpenVPN 2.5 released - Overview of changes:

                                    Did you update Pfsense somehow?

                                    No, I just used the new Windows-Client with the Server on pfSense.

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