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

    Connection drops for several seconds after changes

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 755 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.
    • B
      bart.vleeshakker
      last edited by

      Hello guys,

      I have 3 pfsense 2.4.3 virtual machines on a windows 2016 dc server.
      The vm's are connected to the LAN and a trunk port.
      On one of the vm's i have about 56 vlans with interfaces.
      When i make changes in the configuration (i mostly change things in interfaces and firewall rules) and i press to save the configuration, all connections are lost for seconds. So all interfaces get interrupted and my customers notice that because they experiencing downtime.
      I have another vm with at least 70 vlans with interfaces, but that works like a charm.
      The problem vm was previously on a earlier version where the problem started, but after the update the problem remains.
      I also moved the vm to another server, but the problem remains.

      Does anyone have any idea what's going (wr)on(g) here?

      Best regards,

      Bart

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        The change your doing is causing a state reset would be my guess. Normal firewall changes should not cause this.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • B
          bart.vleeshakker
          last edited by

          Sounds quite logic. Is there any setting i could adjust to prevent this from happening?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            There is a setting on advanced networking - reset all states..

            This option resets all states when a WAN IP Address changes instead of only states associated with the previous IP Address.

            Do you have that checked?

            Under advanced misc there is kill all states if gateway goes down

            Flush all states when a gateway goes down

            Do you have that checked?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • B
              bart.vleeshakker
              last edited by

              No the first option is not checked. But if i understand correctly, all states will be reset anyhow if it is checked or not, isn't?

              The option Flush all states when a gateway goes down is checked on the problem vm, but not on the others.
              Could this be the problem?
              If so, i will uncheck it, but it doesn't make sense, because a gateway is not going down when i make a change, right?

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                depends.. Its not that gateway actually goes down... But if the monitoring of that gateway goes down - then yeah all states would get reset..

                The monitor pings your gateway - if pings do not answer, be it the line full or packet loss then all states can get reset.. I have that uncheck on my setups..

                Normal firewall change like adding a rule should not reset states.. Your rules should just reload - if you have a shitton of rules and or something is causing an issue with the loading of the rules then yeah you could have some issues.. I would actually validate that your states are being reset... Should be simple enough to just look at the number of states you have and then change a rule - does that drop into the dirt for your number, etc..

                Are you running any packages on this instance.. Pfblocker?

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • B
                  bart.vleeshakker
                  last edited by

                  Oke, i will uncheck that option and try if the problem remains.
                  I will report to you shortly.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bart.vleeshakker
                    last edited by

                    I have unchecked the option last night and made some changes where i knew before the connections will be dropped and all connections remained active! Thank god it was that simple.

                    I haven't checked the number of states before, i wouldn't risk the dropped connections for that anymore.
                    I don't have any packages installed.

                    Thank you for your help, this solved my case.

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