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

Incorrect bandwidth monitor values

Scheduled Pinned Locked Moved General pfSense Questions
40 Posts 2 Posters 3.4k 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
    MindlessMavis @stephenw10
    last edited by May 23, 2022, 11:04 PM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by May 23, 2022, 11:14 PM

      Do you expect to see more Out than In there? How does it compare with vmx0?

      It calculates the rates based on how much has passed in the last minute. It looks like the total counts are correct so for some reason it's seems to be miscalculating it... hard to see how though.

      M 1 Reply Last reply May 23, 2022, 11:20 PM Reply Quote 0
      • M
        MindlessMavis @stephenw10
        last edited by MindlessMavis May 23, 2022, 11:28 PM May 23, 2022, 11:20 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • M
          MindlessMavis
          last edited by May 24, 2022, 10:42 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by May 24, 2022, 1:44 PM

            Hmm, if you unassign the OpenVPN client does it show traffic correctly on WAN?

            Unless somehow that VPN client is not running on WAN I would expect to see the encrypted traffic there.

            It would not surprise me to find a 3rd party VPB provider passing all the traffic though. Pretty much all setup guides will have you set the VPN as the default route. Where is that upload traffic going to? How can you be sure it's not going over the VPN?

            M 1 Reply Last reply May 24, 2022, 2:52 PM Reply Quote 0
            • M
              MindlessMavis @stephenw10
              last edited by May 24, 2022, 2:52 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by May 24, 2022, 3:07 PM

                Well either the values reported by pf are incorrect or RRD is pulling data from the wrong sources.

                Check: /var/db/rrd/updaterrd.sh

                That will show you where RRD is pulling data from for WAN out.

                Steve

                M 1 Reply Last reply May 24, 2022, 3:21 PM Reply Quote 0
                • M
                  MindlessMavis @stephenw10
                  last edited by May 24, 2022, 3:21 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by May 24, 2022, 5:17 PM

                    Well first off all does the data coming from pfctl look correct to you? I have no way to know if you have reset the interfaces etc.
                    If not then we can try to dig into that. I've never seen that come back incorrectly though.

                    Do you have any rules on WAN that are passing without logging perhaps or somehow passing without creating a state even? Hard to imagine you would but...

                    Steve

                    M 1 Reply Last reply May 24, 2022, 5:57 PM Reply Quote 0
                    • M
                      MindlessMavis @stephenw10
                      last edited by May 24, 2022, 5:57 PM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by May 24, 2022, 6:53 PM

                        Is the last cleared date you're seeing there when pfSense was last rebooted?

                        M 1 Reply Last reply May 24, 2022, 6:58 PM Reply Quote 0
                        • M
                          MindlessMavis @stephenw10
                          last edited by May 24, 2022, 6:58 PM

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by May 24, 2022, 8:56 PM

                            Hmm, do you see an outbound state for the openvpn traffic on vmx1?

                            M 1 Reply Last reply May 24, 2022, 10:11 PM Reply Quote 0
                            • M
                              MindlessMavis @stephenw10
                              last edited by May 24, 2022, 10:11 PM

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by May 24, 2022, 10:29 PM

                                Hmm, you could try something more radical like importing the config into a new VM and seeing if it's still replicated.

                                M 1 Reply Last reply May 24, 2022, 10:45 PM Reply Quote 0
                                • M
                                  MindlessMavis @stephenw10
                                  last edited by May 24, 2022, 10:45 PM

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by May 25, 2022, 12:15 PM

                                    Mmm, I mean it looks like some values have been switched somehow such that pf is referencing the wrong interface(s). But if that was the case I would expect the policy routing and firewall rules to also be wrong. Also I've never seen that happen before and really I have no idea how it could!

                                    I could imagine the interfaces becomes switched, for example ovpnc2 is no longer the tunnel you think it is. Or the interfaces are re-ordered in vmware. But that would not account for traffic switching from vmx to ovpn.

                                    M 1 Reply Last reply May 25, 2022, 3:07 PM Reply Quote 0
                                    • M
                                      MindlessMavis @stephenw10
                                      last edited by May 25, 2022, 3:07 PM

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by May 25, 2022, 3:55 PM

                                        You could create a new NIC on the same vswitch and then reassign WAN to that, vmx2 for example.

                                        pf has an interface for all OpenVPN traffic that is uses for firewall rules on unassigned interfaces. I wonder if somehow the ovpnc8 graph is pulling data from that. Though that would still include data from ovpnc9.

                                        For anything like that to happen it would have to very low level. I assume ifconfig still reports the correct number of interfaces with the correct names?

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          MindlessMavis
                                          last edited by MindlessMavis May 26, 2022, 9:26 AM May 26, 2022, 9:24 AM

                                          This post is deleted!
                                          M 1 Reply Last reply May 26, 2022, 10:52 AM Reply Quote 0
                                          28 out of 40
                                          • First post
                                            28/40
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received