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

    Upgrade from 2.7.2 to 2.8.0 ipsec

    Scheduled Pinned Locked Moved IPsec
    18 Posts 5 Posters 4.9k Views 6 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.
    • J Offline
      jvangent100
      last edited by jvangent100

      Hi,

      After upgrading from 2.7.2 to 2.8.0 after a few minutes I lose all my ipsec vpn tunnels.

      they intially work just fine, but after some time traffic stops flowing

      the tunnels show as up, but nothing gets routed anymore.

      Is this a known issue ?

      For now I reverted back to 2.7.2.

      stephenw10S 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator @jvangent100
        last edited by

        @jvangent100 said in Upgrade from 2.7.2 to 2.8.0 ipsec:

        Is this a known issue ?

        No.

        Do you see blocked traffic in the firewall logs?

        Do you see the packet counters on the tunnels increasing still? In either direction?

        J 1 Reply Last reply Reply Quote 0
        • stephenw10S stephenw10 moved this topic from Problems Installing or Upgrading pfSense Software on
        • C Offline
          chris4916
          last edited by

          Same here.
          We have multiple IPSec, both tunnel and VTI in a kind of hub & spoke layout.
          Since "'central" pfSense have been migrated to 25.05 and well as some spoke pfSense, when IPSec starts, P1 & P2 connect and it works but after some time, while both P1 & P2 are still connected, no traffic goes trough IPSec links, I believe because gateways are seen as "off-line".

          I suspected dping issue but restarting dpinger doesn't help.

          The only way to bring tunnel "on" (well, they are seen as "on" in IPSec status) is to stop then start again IPSec daemon.

          Something wrong with reauthentication ?
          I don't really know how to investigate further, not finding anything obviously wrong in logs.

          Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

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

            Hmm, so the tunnels show as up but no traffic passes including the dpinger traffic? You don't see the tunnel packet counters increasing? Restarting dpinger doesn't change anything?

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              chris4916 @stephenw10
              last edited by

              Indeed behavior is exactly this one!
              But I need to investigate further whenever some other changes applied.

              Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                chris4916 @chris4916
                last edited by

                It looks like deactivating "make before break" on each side does the trick.
                I will confirm hopefully in a couple of days.

                Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

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

                  Mmm, I would run a pcap on the interface and see what, if anything, is being sent across the tunnel when it fails.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    chris4916 @stephenw10
                    last edited by

                    I definitely will do this next week and post here the results. Thank you

                    Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

                    S 1 Reply Last reply Reply Quote 1
                    • S Offline
                      stegbth @chris4916
                      last edited by

                      Hi,
                      similiar problem here.
                      there are several sites, some with Pfsense+ 25.07.1 and some with PfsenseCE 2.8.1.
                      Tunnels are running classical site2site and route based VTI.
                      MSS on lan is set to 1300 Byte.

                      After upgrade to latest PFsense 25.07.1 and 2.8.1 managing VeeamBackup stopped working.
                      scp of bigger files (bigger than 32kByte) has a timeout for about 58 seconds, before it starts at full speed.

                      We took a paketcapture on destination linux-server and saw the initials packets.
                      Afterwards some retries and out of sync Ack packets, afterwards it starts and packetflow is ongoing.

                      Interesingly this does not happen on all connections, only some, but unfortunatly we haven't found the common thing between them.

                      br
                      Thomas

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

                        Hmm, but in your case it does eventually pass the traffic? That seems different to the other two reports above.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          joaoildefonso
                          last edited by

                          Hi

                          Same here, had to revert to 2.7.2

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

                            Any more detail?

                            We've not seen anything like this in testing. If it's real and is going to get solved we need to be able to replicate it.

                            C 1 Reply Last reply Reply Quote 0
                            • C Offline
                              chris4916 @stephenw10
                              last edited by

                              @stephenw10 said in Upgrade from 2.7.2 to 2.8.0 ipsec:

                              We've not seen anything like this in testing. If it's real and is going to get solved we need to be able to replicate it.

                              I've heavily reshapped our IPSec network so that we can highlight what's happening here in order to, I fully agree, been able to replicate it.
                              We are still facing this issue from time to time but I can't fully say this is due to pfSense bug or wrong configuration.

                              As our network is made of mesh IPSec + BGP, this is not that simple to spot the issue.

                              Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

                              1 Reply Last reply Reply Quote 1
                              • J Offline
                                jvangent100
                                last edited by

                                This is still happening, and I accidentially deleted my 2.7.2 setup, so now I'm fucked, after upgrade, to 2.8.1 VTI tunnels stop working about 20 seconds after reboot. This is really, really annoying, as it stops me from being able to do my work. Luckily IPV6 is not affected, but IPV4 connectivity dies on 2.8.1

                                I am guessing it's a problem with VTI, as the two IPV6 tunnels do not use VTI.

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jvangent100 @stephenw10
                                  last edited by jvangent100

                                  It's one way, from the remote site, running a fortigate, connectivity is working fine. Behind the pfsense, nothing is flowing, no firewall blocks either. It's bloody strange, as when I ping a certain ipv4 it works, and continues to work, yet trying to ping another host on the same network, even ping won't work anymore, rpd or ssh does not work at all, and the ONLY change is the upgrade from 2.7.2 to 2.8.1 same config, on both sides. I think it is due to VTI being broken, as my IPV6 tunnels don't use VTI, but the ipv4 do use routed tunnels. Broken on 2.8.1 for sure.

                                  probably a routing issue, it's not going to the VTI interface :

                                  ipv6 not using VTI:

                                  Tracing route to vsadc-dc01.soapeople.com [2001:920:4011:6::60]
                                  over a maximum of 30 hops:

                                  1 <1 ms <1 ms <1 ms pfsense.jvangent.nl [2a10:3781:23d4::1]
                                  2 10 ms 10 ms 10 ms 2001:920:4011:f::1
                                  3 11 ms 11 ms 10 ms 2001:920:4011:fff::1
                                  4 12 ms 11 ms 11 ms 2001:920:4011:6::60

                                  same host, using ipv4, VTI;

                                  Tracing route to vsadc-dc01.soapeople.com [10.10.10.60]
                                  over a maximum of 30 hops:

                                  1 * * * Request timed out.
                                  2 * * * Request timed out.
                                  3 *

                                  this stuff is broken.

                                  edit: when I disable the VTI interface, then enable it, it works for a few seconds tracert and rpd work, and then it stops working again. Easily reproducable on my end.

                                  tracert on ipv4 and VTI just after re-enabling the VTI interface :

                                  C:\Users\admjgent>tracert -4 vsadc-dc01

                                  Tracing route to vsadc-dc01.soapeople.com [10.10.10.60]
                                  over a maximum of 30 hops:

                                  1 <1 ms <1 ms <1 ms pfsense.jvangent.nl [192.168.0.1]
                                  2 10 ms 10 ms 10 ms 198.18.60.3
                                  3 12 ms 11 ms 11 ms 10.10.19.206
                                  4 11 ms 10 ms 10 ms 10.10.10.60

                                  20 seconds later or so, it's done, and won't work anymore.

                                  I guess for now is trying to re-install 2.6 which I still have a proper ISO for (why the hell is the normal ISO gone ??, ridiculous decision, not enterprise ready) and try to restore the config, or change to non routed tunnel and having multiple SA's running. Please fix this, it is a clear regression, both on 2.8 and 2.8.1

                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jvangent100 @jvangent100
                                    last edited by jvangent100

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jvangent100
                                      last edited by

                                      Was able to download a 2.7.2 iso, and fix everything, merely by reinstalling the system and using my existing config.

                                      1. please just offer normal installation iso on your main website
                                      2. fix this clear regression on 2.8/2.8.1 VTI tunnel routing is broken on this version, see my previous post.

                                      Reverted back (again) to 2.7.2.

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

                                        Ok that's good information.

                                        20s like that sounds like a redirect timing out. And where that would apply in 2.8 might be change in default for firewall state policy from floating to interface-bound:
                                        https://docs.netgate.com/pfsense/en/latest/config/advanced-firewall-nat.html#config-advanced-firewall-state-policy

                                        Specifically this applies to VTI tunnels when the IPSec filter mode is still set to the combined ipsec tab:
                                        https://docs.netgate.com/pfsense/en/latest/config/advanced-firewall-nat.html#ipsec-vti-filtering

                                        I would bet that's what you're hitting unless you've tested it already.

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