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

    Bandwidth usage history and online monitoring per each IP-address

    Traffic Shaping
    3
    5
    7.8k
    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
      mnv
      last edited by

      Hi all. I didn't check out if the same question(s) was here, sorry… I've made the only pfSense installation for a friend of mine who owns a small LAN. We created an alias (1 mbit down/256 kbit up) and put all internal IPs into that alias. Now, we'd like to watch not only total bandwidh usage online, but per-user(IP) usage too. Say, if it surfs slowly, we go to statistic page and see the total badwidth is out. Who is the motherfucker?! We go somewhere else and see the per-IP bandwidth usage. And it's not bad if there is a history feature, so we can say that IP 1.2.3.4 stoled all our bandwidth the whole previous week :) - we didn't find such a feature. Is there any way to solve these two problems? Thanks a lot!

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

        Easiest way I know for seeing per ip real time bandwidth is via console or SSH go to pftop (9)

        Then press the following:  7, Shift +R (Capital R) , s, 1

        7 is speed screen
        Shift R is sort by RATE
        s, 1 is setting refresh to 1 second.

        Skype ID:  Marinhd

        1 Reply Last reply Reply Quote 0
        • M
          mnv
          last edited by

          @kapara:

          Easiest way I know for seeing per ip real time bandwidth is via console or SSH go to pftop (9)

          Then press the following:  7, Shift +R (Capital R) , s, 1

          7 is speed screen
          Shift R is sort by RATE
          s, 1 is setting refresh to 1 second.

          Thanks a lot! But I don't understand some things… Here is a screenshot...

          PR  D SRC                  DEST                  RATE  PEAK  AVG BYTES STATE  PKTS  AGE  EXP R
          tcp  I 192.168.0.38:3136    92.39.231.4:46217    54857 72896 18579 6386K  4:4  6719  352 86400 *
          tcp  I 192.168.0.38:3381    89.253.91.121:52145  52760 54827 12889 2857K  4:4  3515  227 86400 *

          For the first line, RATE is 54857, PEAK is 72896 and AVG is 18579. Does that mean speed in Kbits? If yes, thats almost quite what we need! :)

          1 Reply Last reply Reply Quote 0
          • Y
            YeOldeStonecat
            last edited by

            Try the "BandwidthD" plugin.

            1 Reply Last reply Reply Quote 0
            • M
              mnv
              last edited by

              @YeOldeStonecat:

              Try the "BandwidthD" plugin.

              "BandwidthD tracks usage of TCP/IP network subnets and builds html files with graphs to display utilization. Charts are built by individual IPs, and by default display utilization over 2 day, 8 day, 40 day, and 400 day periods. Furthermore, each ip address's utilization can be logged out at intervals of 3.3 minutes, 10 minutes, 1 hour or 12 hours in cdf format, or to a backend database server. HTTP, TCP, UDP, ICMP, VPN, and P2P traffic are color coded."

              Wow! That's it! I forgot about packages… Though I installed nmap package before... :)

              Thank you so much, sir! :) Would you like to point me, when I can see results of bandwidthd package job? I surfed through almost all menus and submenus and didn't find such a graphs (or I saw them but didn't understand this is bandwidthd's graphs... :)

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