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

    I have to reset states every 10 hours PFSense 2.0

    Scheduled Pinned Locked Moved Routing and Multi WAN
    7 Posts 3 Posters 3.3k 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.
    • E
      eprimaveri
      last edited by

      For some reason in the last 5 days as far as I can tell my traffic gets slowed on our WAN connection.  I have to reset my states in order to get it back up to proper speed.  Ping times are really high as well.  Again once I reset my states everything goes back to normal.  I have looked at the states and I don't see anything that stands out.  No more that 500 states when this happens.  Any assistance is greatly appreciated.

      • I do have Multi-WAN Loadbalancing on two separate ISP's.  I have tried stopping the second connection on the load balancer gateway setting with the same result.

      • I do have two firewalls in place with Carp failover.  This was working fine before I noticed the issue.

      • I am not seeing an error in the logs.

      • Firewall Maximum States = 390000

      • Firewall Maximum Table Entries = 390000

      • Total memory is 4GB

      • 2.0-RELEASE (amd64) built on Tue Sep 13 17:05:32 EDT 2011 You are on the latest version.

      1 Reply Last reply Reply Quote 0
      • L
        lolinternet
        last edited by

        have you tried runing mmtest86

        http://www.memtest.org/

        1 Reply Last reply Reply Quote 0
        • E
          eprimaveri
          last edited by

          @lolinternet:

          have you tried runing mmtest86

          http://www.memtest.org/

          No I have not yet as this physical machine is in a Datacenter an hour away.  This machine isn't currently under high load and I don't see much change in memory usage.  But I will try this tomorrow.

          1 Reply Last reply Reply Quote 0
          • E
            eprimaveri
            last edited by

            So memory test found no issues.  I did track this down.  If a PPTP user logs in.  For some reason this causes the WAN connection configured with the highest priority to have latency.  if I reset the states, the latency issue is resolved.  Then its back as soon as the reconnects PPTP.  If I delete the Group no problems.  Just when the group is in place and someone connects via PPTP.

            Anyone have ideas why?  I am running out of hair fast.

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

              Just a guess: In your PPTP settings, the "Server address" is set to your WAN IP. Don't do that, enter an unused local IP instead.

              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 0
              • E
                eprimaveri
                last edited by

                @jimp:

                Just a guess: In your PPTP settings, the "Server address" is set to your WAN IP. Don't do that, enter an unused local IP instead.

                I have it set to an unused private IP address within the same local subnet.

                I did however find a automatic dynamic gateway setup so I have deleted that.  So far everything looks good.  Will let you know tomorrow if everything is still going strong.

                1 Reply Last reply Reply Quote 0
                • E
                  eprimaveri
                  last edited by

                  Ok so this ended up being an issue where the firewall auto created a dynamic gateway.  Thanks for the help

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