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

    Will 533mhz be enough for OpenVPN and Snort on Home Net?

    Hardware
    3
    13
    4.9k
    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.
    • A
      Agarax
      last edited by

      Hi,

      I'm experimenting with pfSense to teach myself a bit more about networking.

      Will my old 533mhz Celeron box with 512mb of RAM be able to handing a 35 mbit connection with OpenVPN (one user) and Snort running?  The connection will be running over two Intel gigabit ethernet cards in the PCI slots.

      Thanks

      1 Reply Last reply Reply Quote 0
      • J
        jasonlitka
        last edited by

        Depends on the number of snort rules and how much of that 35Mbit/s is taken by OpenVPN.

        I can break anything.

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

          The OpenVPN will be a road warrior setup of some kind to allow a secure connection from untrusted wifi hotspots back to the LAN to get on the net and access network resources.  So I'm guessing no more than a few megabits.

          I'll probably start out with the snort default rules enabled, and fine tune it by turning some on and off depending on how many applications it breaks.

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

            You'd be lucky to get 20 Mbit with OpenVPN, and that's without snort running.

            Encryption is very CPU-intensive. You can't get more than 20 or so Mbit on an ALIX (500MHz Geode) and that has a built-in crypto accelerator.

            If you're running snort, expect that to go even lower.

            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
            • A
              Agarax
              last edited by

              Should have been more clear.

              The OpenVPN is only coming in from an outside location (i.e I'm in Starbucks connected with my laptop back to my LAN over the OpenVPN for secure access to the net and to access my files).  This doesn't need to be super fast, just fast enough for a public WAP (no more than a few mbits).

              When I'm at home running the boxes at full throttle the OpenVPN is not being used.  My concern at that point is Snort by itself slowing down the 35mbit connection.

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

                In that case, it might be OK, but snort is a pig (pun intended). It hogs ram and cpu, and that increases a lot when you have many rulesets loaded.

                Why are you wanting to run snort? What are you hoping it will alert on or prevent?

                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
                • A
                  Agarax
                  last edited by

                  The main reason is to tinker with it and learn how it works.  ;)

                  The second more useful reason is that I want it to trip if one of the boxes behind gets some malware and starts sending worms, spam or whatnot back out to the net.

                  Third reason is that eventually I'm setting up a server behind the FW for testing and demoing websites and maybe a Ventrilo or Team-speak server.  I want to be aware if one of those services gets compromised.

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

                    Well then you'd really need more CPU/RAM. Running in one direction (on LAN to catch things going out) might squeak by with a couple rulesets, but for servers you'd also have to run on WAN another instance.

                    Otherwise, you lose either the source IP of the local machine (if run on WAN trying to catch outbound) or the remote attacker (if run on LAN trying to catch inbound).

                    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
                    • A
                      Agarax
                      last edited by

                      If I shoehorned a 1ghz PIII on it, would that be enough along with the existing 512mb of RAM? (They are going for about $5 on ebay)

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

                        the CPU might be, but you'd likely need more RAM. I wouldn't run snort on two interfaces with less than 1GB, but if you are very frugal with the rulesets you choose, it might work with 512.

                        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
                        • A
                          Agarax
                          last edited by

                          What would you recommend as minimum specs to do this, scalable up to, say, 100mbit?

                          I might just turn the Celeron box into a NAS box and get a decent used computer.

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

                            Not sure what that would take, but I wouldn't try it with less than ~2GB of RAM and perhaps a dual-core atom (330 or d510).

                            Even then, snort might still be too much if you enable too many rules.

                            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
                            • A
                              Agarax
                              last edited by

                              Thanks!  Think I have something in mind.

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