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

    Logging data usage on WAN Port

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 269 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.
    • M
      M0SNR
      last edited by

      Hi,

      I have a pfsense system and have two WAN ports. One is connected to my main broadband provider and the other to a 4G router which has a 24GB/24 month SIM for backup if the main network falls over. So I have a 24GB allowance to use over 24 months.

      I'm in dispute with the provider of the SIM as I am being told that I have used the data allowance up. They were also confused that the SIM was 24 months and anyway....I don't for a minute think I have used the data allowance up so given the amount of time I've wasted on hold, is there a simple way that I can see aggregated usage on a WAN port over time? over a few months via the logs? Can I set a script up for it?

      Thanks in advance,

      Richard

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @M0SNR
        last edited by johnpoz

        @m0snr Well you should be able to just look at the status of your interface and get a total counter in packets which would give you a hint to if you moving any amount of data... Keep in mind there is a quality check that would be running, it defaults to zero data.. But still something moving back and forth that could use up your data..

        In/out packets
            356808060/343365930 (388.44 GiB/339.52 GiB) 
        In/out packets (pass)
            356808060/343365930 (388.44 GiB/339.52 GiB) 
        

        The monitoring graphs will show you bit rates over time.. And the package "Status_Traffic_Totals" is prob of interest to you.

        data.jpg

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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