Navigation

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

    After upgrade to 2.5.0 IpSec connect button is not working

    IPsec
    3
    24
    187
    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.
    • F
      francescouk last edited by

      Hi there,

      After upgrade my pfsense to 2.5.0 the ipsec connect button does not work anymore. Anyone having the same problem?

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

        It's a known issue:
        https://redmine.pfsense.org/issues/11486

        Fixed in the upcoming release.

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

          @jimp That´s the thing. Even applying the pactch, I still cannot connect manually. The only thing that happens is that the page reload after clicking on the connect button and that´s it.

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

            You may also be affected by one of the other related bugs, it might not be the connect button at all but the way the connection block is written in the config.

            Best thing to do at this point is to upgrade from 2.5.0 to the 2.5.1 RC snapshot and try it there.

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

              @jimp Do you have a procedure for upgrading?

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

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

                F M 2 Replies Last reply Reply Quote 2
                • F
                  francescouk @jimp last edited by francescouk

                  @jimp I can confirm that after the upgrade, the problem still persist. I cannot make the tunnel to connect manually.

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

                    Do you see anything in the IPsec logs when you click the button?

                    If you right click the button and copy the URL, what are the parameters? (e.g. status_ipsec.php?act=connect&ikeid=1)

                    And what kind of tunnel is it? Does it have a defined remote gateway address or is using something like an FQDN or maybe 0.0.0.0/0/%any?

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

                      @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.

                      jimp 1 Reply Last reply Reply Quote 0
                      • jimp
                        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.

                        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
                          • jimp
                            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?

                            F 1 Reply Last reply Reply Quote 1
                            • jimp
                              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

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

                                @jimp swanctl.zip

                                1 Reply Last reply Reply Quote 0
                                • jimp
                                  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?

                                  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
                                      • jimp
                                        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.

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

                                          @jimp config.zip

                                          1 Reply Last reply Reply Quote 0
                                          • jimp
                                            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

                                            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
                                                  • jimp
                                                    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.

                                                    1 Reply Last reply Reply Quote 0
                                                    • First post
                                                      Last post

                                                    Products

                                                    • Platform Overview
                                                    • TNSR
                                                    • pfSense
                                                    • Appliances

                                                    Services

                                                    • Training
                                                    • Professional Services

                                                    Support

                                                    • Subscription Plans
                                                    • Contact Support
                                                    • Product Lifecycle
                                                    • Documentation

                                                    News

                                                    • Media Coverage
                                                    • Press
                                                    • Events

                                                    Resources

                                                    • Blog
                                                    • FAQ
                                                    • Find a Partner
                                                    • Resource Library
                                                    • Security Information

                                                    Company

                                                    • About Us
                                                    • Careers
                                                    • Partners
                                                    • Contact Us
                                                    • Legal
                                                    Our Mission

                                                    We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                                    Subscribe to our Newsletter

                                                    Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                                    © 2021 Rubicon Communications, LLC | Privacy Policy