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

    IPSec issues on 24.03 - sessions dropping

    Scheduled Pinned Locked Moved IPsec
    20 Posts 6 Posters 2.1k 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 @maverickws
      last edited by

      @maverickws said in IPSec issues on 24.03 - sessions dropping:

      I have some follow-up questions, given the State Policy changes and traffic interface bound, but not getting exactly why is it impacting my traffic?

      It's explained in detail in the link I posted in the section about VTI.

      What would I put in the rule to have it fixed on Interface Bound mode?

      I just updated the docs with better info about the per-rule workaround, it'll be up in ~10 minutes once the build finishes.

      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!

      M 1 Reply Last reply Reply Quote 2
      • M
        michmoor LAYER 8 Rebel Alliance @jimp
        last edited by michmoor

        @jimp
        Question Jim. Because this bit me and a few others would it be reasonable to make an exception for IPsec traffic flows and a note in the webUI or documentation about this and to change at the admins own risk?
        So the IPsec interfaces with VTI get the floating policy state change only.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

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

          The ideal solution here is to fix the IPSec pfil handling so traffic is filtered on the same interfaces in and out as expected. We are looking at that (again) but the work there is non-trivial!

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

            If fixing the OS level issues doesn't work out we might consider an option for automatically handling the floating policy rules for VTI but we're hoping to avoid that if possible.

            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
            • maverickwsM
              maverickws
              last edited by

              Hi all,

              So from my understanding, please correct me if I'm wrong, if I would maintain the option for Interface Bound, I would add a rule to the Floating rules on the IPsec interface as described in Rules with Floating Policy Set ?

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

                Yes exactly.

                maverickwsM 1 Reply Last reply Reply Quote 0
                • maverickwsM
                  maverickws @stephenw10
                  last edited by

                  perfect thank you I will test today and tell how it goes.

                  D 1 Reply Last reply Reply Quote 0
                  • maverickwsM
                    maverickws
                    last edited by

                    Ok so I was able to reboot the router and booted into 24.03

                    I've added the rule as described to the IPsec interface on the floating rules, put it on top of any other IPsec rules and so far my connections seem to be stable, been testing for over 5 minutes both terminal and RDP.

                    Next week I'll be able to test further. Have a nice weekend you all

                    1 Reply Last reply Reply Quote 1
                    • D
                      danjeman @maverickws
                      last edited by

                      @maverickws I had this issue today... looks like adding advanced rule options for floating states on the ipsec rules and a floating outbound one too as per the docs does the trick ๐Ÿ‘

                      maverickwsM 1 Reply Last reply Reply Quote 1
                      • maverickwsM
                        maverickws @danjeman
                        last edited by

                        @danjeman howdy.
                        I only added one floating rule, what you mean by two rules?

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

                          If you need to create connections across the tunnel in both directions you need a floating outbound rule with floating state binding set to allow the replies. It's shown in the doc there now.
                          https://docs.netgate.com/pfsense/en/latest/config/advanced-firewall-nat.html#interface-bound-states

                          So you might only add one floating rule and edit the existing IPSec rule. Two rules are needed if none existed.

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