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

    IPSec becomes unstable after some days

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 874 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.
    • M
      miken32
      last edited by

      Sorry, not much to go on yet, but after about 10 days my tunnel to an ASA is becoming unstable. SSH sessions are interrupted constantly as the phase 2 connection is dropping and rebuilding every couple of minutes.

      The only other person I could find having this issue was here: https://www.mail-archive.com/users@lists.strongswan.org/msg10106.html

      I only get about twenty minutes on the log and didn't have a chance to save it, but I was seeing the same retransmit failures as mentioned in that thread.

      From the Cisco side it just looks like the pfSense drops and rebuilds the phase 2 normally. No errors. Any reports of anything similar?

      1 Reply Last reply Reply Quote 0
      • awebsterA
        awebster
        last edited by

        As you said, not much to go on…
        Check the IPSEC Phase 2 lifetime.  They must match on both ends.
        Beware that not all vendors describe the lifetime in the same units (seconds, minutes or hours), so be sure that you are comparing apples to apples.
        The phase2 lifetime can also be specified in amount of data transferred.  Again, they must match, but don't use time and amount lifetimes at the same time, that gets confusing.

        –A.

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