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

    After upgrade to 2.5.0 IpSec connect button is not working

    Scheduled Pinned Locked Moved IPsec
    24 Posts 3 Posters 2.0k 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 @mcury
      last edited by

      @mcury said in After upgrade to 2.5.0 IpSec connect button is not working:

      @jimp said in After upgrade to 2.5.0 IpSec connect button is not working:

      https://www.netgate.com/blog/open-call-for-testing-pfsense-plus-and-ce-release-candidates.html

      Hello Jimp, I would like to help, is it safe to test 21.02p2 in a SG-3100?
      Thanks for the efforts that Netgate is doing to solve the problems.

      It should be, yes. I'm running 21.02.2 on two SG-3100 units here and thus far haven't had any major issues.

      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
      • F
        francescouk @jimp
        last edited by francescouk

        @jimp

        Yes, defined gateway
        follow:
        https://ip/status_ipsec.php?act=connect&ikeid=8

        628dc70d-11b3-466d-a5cb-27b3cf66159f-image.png

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

          Is it VTI or tunnel mode?

          What does its connection block in /var/etc/ipsec/swanctl.conf look like?

          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!

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

            And you didn't say whether or not it has anything in the logs when you click it

            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!

            F 1 Reply Last reply Reply Quote 1
            • F
              francescouk @jimp
              last edited by

              @jimp swanctl.zip

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

                That file couldn't have come from an RC image, are you sure you upgraded to 2.1.5 RC?

                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!

                F 1 Reply Last reply Reply Quote 1
                • F
                  francescouk @jimp
                  last edited by

                  @jimp When I click the connect button does not say anything on the logs using:

                  tail -f /var/log/ipsec.log | grep XXX.XXX.XXX.XXX

                  1 Reply Last reply Reply Quote 0
                  • F
                    francescouk @jimp
                    last edited by

                    @jimp 6efd5982-7289-4f6a-a4f1-2a012bb9d968-image.png

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

                      The problem is likely that all the child SA entries have overlapping names (e.g. a bunch are con0, con1, etc and don't have proper names. I don't see how that can happen on the RC image unless something else altered the code (like maybe you reverted a previously applied patch after upgrading). It was fixed by https://redmine.pfsense.org/issues/11487 at least any case I've been able to replicate is fixed.

                      I can't replicate what you are seeing here but if there is a lingering issue it could be from something else in your config. If you can attach a copy of the <ipsec> section of your config.xml (with private stuff redacted) that may help.

                      But first make sure you didn't revert anything in the system patches package.

                      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!

                      F 1 Reply Last reply Reply Quote 1
                      • F
                        francescouk @jimp
                        last edited by

                        @jimp config.zip

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

                          I put in some dummy addresses and loaded that into a 2.5.1 RC VM and on mine, the config looks right, and the connect button works.

                          I'm not quite sure what state your system is in but it's very questionable.

                          swanctl.conf.txt

                          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!

                          F 3 Replies Last reply Reply Quote 1
                          • F
                            francescouk @jimp
                            last edited by francescouk

                            @jimp Can you at least point me how to solve this problem? Should reinstall? Or anything that could result in sucess??

                            Before upgrade to RC version, I had applied all the patches:

                            ead6515637a34ce6e170e2d2b0802e4fa1e63a00 #11435
                            57beb9ad8ca11703778fc483c7cba0f6770657ac #11435
                            10eb04259fd139c62e08df8de877b71fdd0eedc8 #11442
                            ded7970ba57a99767e08243103e55d8a58edfc35 #11486
                            afffe759c4fd19fe6b8311196f4b6d5e288ea4fb #11487
                            2fe5cc52bd881ed26723a81e0eed848fd505fba6 #11488

                            But the ipsec status widget wasn´t working, the connect button also wasn´t working.. so I dunno

                            1 Reply Last reply Reply Quote 0
                            • F
                              francescouk @jimp
                              last edited by

                              @jimp For some reason now when I click on connect button it start showing connection:

                              802324f0-c278-42c7-833d-48cb0b78f639-image.png

                              1 Reply Last reply Reply Quote 0
                              • F
                                francescouk @jimp
                                last edited by

                                @jimp The other thing I just find out. The screen for the ipsec connections that´s working is different than the new ones. Follow:

                                Ipsec Config Working:

                                6488532c-e705-47e5-a77c-6ae86cc295bc-image.png

                                Ipsec Config NOT Working:

                                f20c8c0f-4e91-4e43-bf2c-b2661b649e43-image.png

                                As you can see, the screen is different on Expiration Item

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

                                  The difference between those screenshots is the IKE version (IKEv1 vs Auto), the missing field is only valid for IKEv2 (and Auto can use IKEv2). It's not likely to be related to any problem you are seeing.

                                  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
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.