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

    Run ntopng on 2100 or port mirror to an RPi?

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    2100ntopng
    11 Posts 4 Posters 1.8k 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.
    • P
      pazmanian
      last edited by

      I'd like to know if it's a bad idea to run ntopng on the 2100, or if it is up to the task of running ntopng for weeks/months (and I just need to install it manually instead).

      I installed ntopng on my 2100 (running 23.05.1) & it is definitely not stable - can't seem to remain running for even a day. I only have 4 pkgs installed (avahi, aws-wizard, ip-sec-profile-wizard, and ntopng).

      I have an old RPi 3B I could set up if the 2100 can't mange it but would prefer to avoid this effort if it's not needed. (one would think for $350 that the 2100 could handle it)

      I would really appreciate your thoughts on this. (Motivation: I am barely running over my 1.2TB limit on xfinity & I am trying to figure out why. I've had to bump up to the unlimited plan for +$30/mo in the mean time. Only 3 ppl in the house.)

      S M keyserK 3 Replies Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @pazmanian
        last edited by

        @pazmanian not familiar with it and I don’t have a reason why it can’t run, but it does have heavy writes and needs an SSD/max version. See
        https://www.netgate.com/supported-pfsense-plus-packages

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        S 1 Reply Last reply Reply Quote 1
        • M
          michmoor LAYER 8 Rebel Alliance @pazmanian
          last edited by michmoor

          @pazmanian ntopng isnt really the tool to help you out with this, IMO.

          1. Depending on the amount of flows going on through your router that could be very taxing on an ARM chip. Wouldnt even try ntop on anything that doesnt at least have an intel - base model is SG-4100
          2. What ive been doing and its been pretty successful is using Squid. I set up a transparent proxy with SSL intercept. You are not actually installing certs on your devices but you are just transparently intercepting traffic destined for port 80 and 443. I then install LightSquid for reporting. After a few minutes, you start seeing sites visited by clients and how much data was exchanged. You get reporting back on what "big" files were downloaded. I want to be clear , because you are not breaking into the SSL packet you have no idea if whats being downloaded is a .mp4 or .iso or whatever but you do know the site that was visited and by whom which should be good enough especially if you rnetwork has a lot of IoT devices.
            Is it the prettiest reporting? Nope..Does it meet your requirement? Absolutely.

          Here is a screenshot of what one of my home devices is doing. My daughter's iPad. She loves Roblox.

          edit - im not opposed to ntopng but the community edition on pfSense is quite useless. It doesnt track historical flows and by whom so you have no idea who is taking up the most bandwidth and which application. Its good for real-time activity but most people want to track things over time.

          edit 2 - another screen shot. As you can see over the last 4 days thus far, Squid has tracked 94GB of data. This is most likely the type of information you want to see and start digging into ..

          83cbd131-b625-4e35-a668-12ce998b0ba8-image.png

          4120cd43-e9a1-413a-a223-333a9e7e590c-image.png

          Firewall: NetGate,Palo Alto-VM,Juniper SRX
          Routing: Juniper, Arista, Cisco
          Switching: Juniper, Arista, Cisco
          Wireless: Unifi, Aruba IAP
          JNCIP,CCNP Enterprise

          M P 2 Replies Last reply Reply Quote 1
          • M
            michmoor LAYER 8 Rebel Alliance @michmoor
            last edited by

            Let me give a real world example of what just happened in my household a few minutes ago and maybe you can take it and run with it on your network.

            Our youngest child like to watch a program called "Happy Kids" on the smart TV in his room. The wife dislikes this program. Im a dad im in partial but hey the boss comes to me and says to block it.
            How do i block an application on the TV? What should i look for. happykids.com ?

            The first thing i knew was that my child watches this alot so it should show up in the Lightsquid report as a high talker - lots of data exchanged. I go to the reporting and i see a site that sits at number 1 for most bytes
            b83b4834-ec93-4fb1-86d4-ddb0daa03b6c-image.png

            I researched the domain and i noticed that llnwi.net is a CDN. Using some logic this is most likely how the site is pulling data.
            I go into SquidGuard where in my target ACL tab i add the domain llnwi.net.
            I then go into my GroupACL where i have my kids wlan vlan setup and added that domain. I want to specifically only block it for my Kids VLAN.
            I apply the ACL , save settings , and now its blocked. The app still launches but nothing can be played.

            This is something you can do on your own if you find something eating up your bandwidth at your house. NTOPNG could not at all help you with this unless it was a real-time flow. I tracked down this domain over the course of several days using the reporting so i was reasonably certain i could block this and end and make the wife happy. She is the boss after all.

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

            1 Reply Last reply Reply Quote 1
            • keyserK
              keyser Rebel Alliance @pazmanian
              last edited by

              @pazmanian I have NTopNG package running on my SG-2100 MAX for a couple of weeks now without issues.
              In ealier versions stability has been quite an issue, but it seems stable now on 23.05.1

              I have Fiber, and while I can do about 550Mbit up/down on my SG-2100 that figure drops with NTopNG to about 450mbit.

              But I have to agree with @michmoor - The Community edition is borderline useless unless we are talking Real time monitoring. The intire alerting, Grouping, DPI and history part of the product is useless because of the MASSIVE feature limitation of the community edition.

              Love the no fuss of using the official appliances :-)

              P 1 Reply Last reply Reply Quote 1
              • S
                SteveITS Galactic Empire @SteveITS
                last edited by

                To explain better, the max/SSD is important so it doesn’t kill an eMMC prematurely.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                P 1 Reply Last reply Reply Quote 1
                • P
                  pazmanian @keyser
                  last edited by

                  @keyser said in Run ntopng on 2100 or port mirror to an RPi?:

                  SG-2100 MAX

                  keyser, Thanks. did you pay the EU400 for the pro version of NTOPNG? That's far too much for my needs.

                  keyserK 1 Reply Last reply Reply Quote 0
                  • P
                    pazmanian @SteveITS
                    last edited by

                    @SteveITS - Thanks - I now see the value of the MAX for logs... a 256GB M.2 was dirt cheap, so I ordered on of those.

                    1 Reply Last reply Reply Quote 0
                    • P
                      pazmanian @michmoor
                      last edited by

                      @michmoor - Definitely looks worth exploring - much appreciated!

                      1 Reply Last reply Reply Quote 0
                      • keyserK
                        keyser Rebel Alliance @pazmanian
                        last edited by

                        @pazmanian said in Run ntopng on 2100 or port mirror to an RPi?:

                        @keyser said in Run ntopng on 2100 or port mirror to an RPi?:

                        SG-2100 MAX

                        keyser, Thanks. did you pay the EU400 for the pro version of NTOPNG? That's far too much for my needs.

                        No - I’m running community edition. I don’t even think you can actually license the NTOPNG in the pfsense package

                        Love the no fuss of using the official appliances :-)

                        M 1 Reply Last reply Reply Quote 1
                        • M
                          michmoor LAYER 8 Rebel Alliance @keyser
                          last edited by

                          @keyser you can’t. I did open a feature request in redmine to allow the option to put in a professional key.

                          Firewall: NetGate,Palo Alto-VM,Juniper SRX
                          Routing: Juniper, Arista, Cisco
                          Switching: Juniper, Arista, Cisco
                          Wireless: Unifi, Aruba IAP
                          JNCIP,CCNP Enterprise

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