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

    max connections - nat through a apache webserver

    General pfSense Questions
    2
    3
    454
    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
      mako
      last edited by mako

      dear community,

      i have tuned my apache webserver behind my pfsense to access more then 5000 current connections at the same time.

      customers got always "connection aborted" in their browsers if we have a launch with more than 1000 peoples.

      i have also upgraded the server to 10G UP and DOWN. and have tuned my apache configuration.

      can this be that pfsense blocks before the traffic goes through the server?

      i have my apache webserver behind the 1:1 nat.

      i am using vmware 7.0, my virtual machine settings:
      CPU-cores: 8
      Sockets:8
      Core per Socket: 1
      4 GB RAM

      my host system is
      PowerEdge R640
      32 CPUs x Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz

      my webserver is debian buster:
      12 CPUs
      32 GB RAM
      CPU-cores:12
      Sockets:12
      Core per Socket: 1

      how can i do performance tests before we have the next new big launch?

      thank you so much

      many greets

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

        You can set state limits on firewall rules but they would not be by default.

        What's the rate of new connections here?

        1000 connections though the firewall is nothing. State tables in the millions is not uncommon in pfSense. What size was your state table when you saw aborted connections?

        Steve

        M 1 Reply Last reply Reply Quote 1
        • M
          mako @stephenw10
          last edited by

          @stephenw10
          Thank you stephenw, i have now found my issues, the webserver closes the connection on 150 (per default). i have done apache tuning now all is good.

          thank you so much

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