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

    Building new Firewall for 20~30K users @ 1Gbps

    Scheduled Pinned Locked Moved Hardware
    36 Posts 7 Posters 5.4k 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.
    • G
      Gradius
      last edited by

      Total of course.

      ISP?  Nah, I had this back in 1995.

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        Ahhhh - Your memory is fine.  i5 will be fine.  I'm not sure what 20 thousand or 30 thousand users will do to this box…

        Unless I misinterpreted the meaning of "k" today...

        1 Reply Last reply Reply Quote 0
        • G
          Gradius
          last edited by

          I see.  I was even looking at Xeon's.    :)

          Actually it will be light-hosting and another services, but not access (like ISP).

          So in reality I can see until 5000 users using it at the same time as max even with 30,000 users.

          But since I like to go safer, I even imagine 10,000 users using it at the same time.

          Of course, will use SSDs too.

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by

            Well - Will you be adding a bunch of processor heavy add-on packages to this?

            1 Reply Last reply Reply Quote 0
            • G
              Gradius
              last edited by

              Don't think so, will just run Snort, pfBlocker, and probably LCDproc too.

              1 Reply Last reply Reply Quote 0
              • K
                kejianshi
                last edited by

                Ohhhh well - So long as its just 30K users + SNORT, you should be fine with a small one core Alix system.  :P

                If you were going to do something processor intensive, I was going to recommend going with a couple SSDs in a RAID for cache, several NICs to split up the user load and a core i7 or better…  I might also allocate 7% of whatever disk cache I run in ram.  (You should run squid)

                Edit by mod: This post should not be taken serious.

                1 Reply Last reply Reply Quote 0
                • G
                  Gradius
                  last edited by

                  I see.  Nice to know even a little puppy can handle it.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by

                    That was pure dripping sarcasm.  SNORT is a processor pig…

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Are these people all going to be getting their system updates using this pfsense you are building as their internet access?
                      I don't normally give alot of thought to HDD type for a pfsense build, but with so many users, cache + really really really speedy drives just seems like a must have.

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

                        Yes, 1Gbps throughput with Snort is going to require serious thinking. It's way outside my experience but there was a thread with some useful info about this recently.
                        http://forum.pfsense.org/index.php/topic,65462.msg355969.html#msg355969

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gradius
                          last edited by

                          @kejianshi:

                          That was pure dripping sarcasm.  SNORT is a processor pig…

                          Figured it could be.  :P  8)

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gradius
                            last edited by

                            @kejianshi:

                            Are these people all going to be getting their system updates using this pfsense you are building as their internet access?
                            I don't normally give alot of thought to HDD type for a pfsense build, but with so many users, cache + really really really speedy drives just seems like a must have.

                            Actually is to protect the server, and of course, garantee the service quality.

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gradius
                              last edited by

                              @stephenw10:

                              Yes, 1Gbps throughput with Snort is going to require serious thinking. It's way outside my experience but there was a thread with some useful info about this recently.
                              http://forum.pfsense.org/index.php/topic,65462.msg355969.html#msg355969

                              Steve

                              Nice find, too bad he didn't mentioned which CPU (and how many) only NIC.

                              Looks like E3-1275 v3 is good enough for 5Gbps (real speed).

                              Last Snort version is 2.9.5.3, I wonder if we'll see that on pfSense.

                              1 Reply Last reply Reply Quote 0
                              • A
                                asterix
                                last edited by

                                For 20-30K users, my recommendation is to go with server grade hardware with dual Xeon CPUs, 16GB RAM, RAID 10 (if possible) for redundancy. For that many users I highly recommend Squid and Snort. No matter what anyone says.. you need Snort for ensuring your network is not being attacked and the security of the users are not compromised along with the entire network. Add dansguardian with clamd for virus protection and you should be in good shape. You can experiment with pfBlocker if need be.

                                And yes kejianshi is right.. you would definitely need a cluster as you cannot depend on one single piece of hardware for 20K+ users. Load balancing is something that you would need to look at.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kejianshi
                                  last edited by

                                  asterix - I'm a bit unclear on how well the firewall process and a few other things work across multiple cores on pfsense?

                                  That got me wondering if 4x  2 core pfsense VMs would better utilize 8 cores than a single pfsense with 8 cores at its disposal?

                                  I don't know?  Never tried to scale pfsense very big, but I know some have.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    wallabybob
                                    last edited by

                                    @kejianshi:

                                    asterix - I'm a bit unclear on how well the firewall process and a few other things work across multiple cores on pfsense?

                                    The packet filter is currently single threaded but apps can run in parallel with it.

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kejianshi
                                      last edited by

                                      Yeah - Thats what I thought.  Whats the best scheme to get the most out of the processors/cores available if packet filtering is the primary load?

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        asterix
                                        last edited by

                                        Forgot to add.. yes since its multiple cores.. the best way to deploy this would be on ESX and multiple VMs as clusters.. on separate hosts.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kejianshi
                                          last edited by

                                          Hmmm - I'd like to see how this turns out.  Sounds ambitious.  I'm pretty sure pfsense can tackle it.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            stryfe
                                            last edited by

                                            I think you'll be ok with a dual xeon server..  The VM idea would be good too but that would involve a lot more cost.

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