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

    New to pfsense. Hardware and setup

    Scheduled Pinned Locked Moved General pfSense Questions
    24 Posts 6 Posters 2.3k Views 7 Watching
    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.
    • F Offline
      frankr2994 @NollipfSense
      last edited by

      @nollipfsense didn't ask anyone for a step by step. I'll check out you tube but I've done a fair amount of reading. I know that cpu will work well. What I don't know is if I can benefit from more. I know pfsense supposedly now works with QAT addon cards. Some of the older cards are at a reasonable price. I could not find anything on what speeds related to using something like nordvpn would be affected by going past just cpu accelerated with aes-ni when just dealing with gig internet. Low profile quad port Intel nics I've found show on Intel ark they were released in 2007. A low profile quad nic would have been something that only came on a blade server and I can't find all that much info on them like what part numbers should I try searching on eBay. So ya a few questions. Once I put something together I'd imagine I'll have more questions but they will be more specific and I'll post them in the appropriate section.

      1 Reply Last reply Reply Quote 0
      • F Offline
        frankr2994 @JKnott
        last edited by

        @jknott didn't plan on buying new. Dell t1700 are "workstation" pcs that are off lease now. I can get a barebones sff for about 35 bucks. E3-12xxv3 cpus are very cheap and the ecc unregistered memory they ran is again very cheap. Very nice compact little system with better than consumer hardware should be great for running 24/7. Really I planned on putting the PC together for under 200 bucks. Just trying to get the most bang for the buck.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mer
          last edited by

          I would start by looking at some of the specs on the Netgate devices. I'm not saying "buy one" but you should be able to get an idea of how much CPU and "stuff" you need. Netgate testing may not exactly mirror what you have/want, but I believe they are consistent in the way they test product. I don't recall offhand but they may performance numbers for VPNs.
          Start by looking at the specs for the 5100/6100 series.

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

            Most VPN providers use OpenVPN. OpenVPN is single threaded so if you are aiming just for that you need a CPU that has good single thread performance.
            You can improve that by using several VPN client tunnels but a single connection will only ever use one of them.
            Some VPN providers now support WireGuard which will likely give you better throughput.

            What bandwidth is your WAN?

            Steve

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mer @stephenw10
              last edited by

              @stephenw10 I think OP said Fios 1gig in the first post.

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

                Ah, so he did! Yeah so 1Gbps OpenVPN requires very fast single thread performance. It's unlikely you will see it.

                JKnottJ 1 Reply Last reply Reply Quote 0
                • M Offline
                  mer
                  last edited by

                  @frankr2994

                  Looks like the 5100 and 6100 are close enough in VPN performance to pick either one. They both use Atom cpus, not sure how that compares xeon e3-1271v3 cpu you're talking about, but the Atom has "integrated AES-NI and QAT (QuickAssist Technology)" (hardware assist) that speeds up the encryption/decryption bits. To me that would be a factor.

                  F 1 Reply Last reply Reply Quote 0
                  • JKnottJ Offline
                    JKnott @stephenw10
                    last edited by

                    @stephenw10 said in New to pfsense. Hardware and setup:

                    Ah, so he did! Yeah so 1Gbps OpenVPN requires very fast single thread performance. It's unlikely you will see it.

                    That would depend on the other end. If he's sitting in a coffee shop, he likely won't get 1 Gb.

                    However, it would be nice if OpenVPN supported multithreading.

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      frankr2994 @mer
                      last edited by frankr2994

                      @mer any of the cpu options I may use would at least be a quad core with a base speed of 3.5ghz. the 1271 is base 3.6 turbo 4.0. any of those netgate appliances are 2.2ghz quad cores. They have more instructions it seems. Not sure if I can do an apple to apple comparison. I'd obviously would have more memory and more storage. But as far as putting together my own device for a reasonable price I don't think you can do better than a single core speed of 4.0ghz

                      M 1 Reply Last reply Reply Quote 1
                      • M Offline
                        mer @frankr2994
                        last edited by

                        @frankr2994 Check the intel website for the datasheet on your CPU. If it talks about having at least AES-NI that should be good. Encrypting/Decrypting is a lot of math intensive operations, so the AES-NI offloads that work (kind of like offloading to a GPU). That speeds things up. The memory and storage I don't think really matter, it's CPU and NIC throughput that matters (in my opinion).
                        Worst case you find out for short money what isn't good enough.

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

                          That older Xeon is a far more powerful CPU, in both senses. It probably still won't pass 1G OpenVPN though, not over a single connection.

                          1 Reply Last reply Reply Quote 1
                          • F Offline
                            frankr2994 @mer
                            last edited by

                            @mer I knew it had aes-ni since the beginning. Reason why I'd be buying different components vs grabbing some old stuff I have at home. What I touched on earlier is if maybe I should be considering a QAT card as well. Some of the older ones are available for under 150 and are rated at 20 or 25gbps encryption speed which is way overkill. But if the cpu isn't up to the task short of some quad core pumping out 5ghz then that would be my next option.

                            M 1 Reply Last reply Reply Quote 1
                            • M Offline
                              mer @frankr2994
                              last edited by

                              @frankr2994
                              Cool. I honestly have nothing more than compare to the 5100/6100 and go from there. RAM and storage are irrelevant, NICs become a bit more important.

                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                frankr2994 @mer
                                last edited by

                                @mer ok then. Still trying to figure out what nic I want. Wouldn't mind future proofing it a bit but I'm not going to drop 400 or 500 on one.

                                M 1 Reply Last reply Reply Quote 1
                                • M Offline
                                  mer @frankr2994
                                  last edited by

                                  @frankr2994 Well your upstream is 1G up and down. So if your internal LAN had all 10G, everything gets throttled to 1G on WAN (now does the throttle happen at your WAN or further into ISP network?) I think that quad 1G Intel is relatively inexpensive and remember it wasn't all that long ago that 56K dialup was common.

                                  I personally don't have any recommendations on NICs, but if you are in US, I'd start with amazon, best buy, tiger direct and new egg. I'm sure there are a lot of other choices but these are at top of my head.

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

                                    Currently the QAT driver/hardware won't help you with OpenVPN.

                                    If you already have that machine then I would just try it and see how it performs.

                                    Steve

                                    F 1 Reply Last reply Reply Quote 1
                                    • F Offline
                                      frankr2994 @stephenw10
                                      last edited by

                                      @stephenw10 said in New to pfsense. Hardware and setup:

                                      Currently the QAT driver/hardware won't help you with OpenVPN.

                                      If you already have that machine then I would just try it and see how it performs.

                                      Steve

                                      That's what I was waiting to hear. Thanks

                                      Ok so what I have planned is to get an intel x540-t2 nic. Its a 10gb dual port card. I can't use 10G atleast through my isp but I would assume that this will atleast have enough on the controller end to deal with not being a bottleneck. Thats a pcie 2.0 x8 card. That will go into my pcie 3.0 x16 slot. I will still have a 2.0 x4 slot available If I wanted to add an intel I350T4 card. I may do this as I don't think my planned area for a switch will be near this box but I may have a server or two near that could use the additional ports.

                                      Not accounting for the I350 nic that I may or may not buy in the future the full build is 280 bucks. I did change from the xeon 1271 to a 1246 to get integrated graphics. base is 3.5 and turbos 3.9 so not too much different and now I don't have to use one of my pcie slots with some little quadro card I have lying around.

                                      Going to get this ordered up and get it going. Thanks for the help.

                                      AndyRHA 1 Reply Last reply Reply Quote 0
                                      • AndyRHA Online
                                        AndyRH @frankr2994
                                        last edited by

                                        @frankr2994 Just a note, I have 2 10Gb ports, one goes untagged through my switch to ATT, the other has 3 VLANs to my switch. Because all of the systems are 1Gb or less the 10Gb handles the traffic with ease. And it freed copper ports on my switch.

                                        o||||o
                                        7100-1u

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          frankr2994
                                          last edited by

                                          Ok so I know that nordvpn provides OpenVPN configuration. I honestly didn't know the difference between openvpn and wire guard before. However I just found this https://www.reddit.com/r/PFSENSE/comments/m0989o/nordvpn_wireguard_setup_works/

                                          Apparently I could use wire guard with that provider. Wouldn't that take care of alot of speed issues?

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

                                            WireGuard is certainly faster for a single connection. Significantly faster. There are a lot of variables so I couldn't tell you the exact speed you'll see.

                                            Steve

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