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

    Wrong time in System logs -> Firewall

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 6.3k 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.
    • S
      schimmel
      last edited by

      Cheers,

      Another question from your dearest pfsense fan schimmel. Again, I have searched the forums, mailing lists, google, everything.

      The time in my firewall log is 2 hours off. Time in all other areas is correct (system log for example). I live in Sweden, my timezone is Europe/Stockholm and I am using the 0.se.pool.ntp.org time server.

      Can anyone explain how I can fix the time in the firewall log to be correct? Tons o' thanks.

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

        Mine does the same things on some systems, and it's not that the clock is wrong, it's just displaying the time in GMT instead of local time.

        I'm not sure why it happens on some systems and not others, if I get a few moments later I'll look into it.

        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
        • S
          schimmel
          last edited by

          Interesting.

          Strange thing is, it's not even displaying GMT time in the firewall log for me, then it'd only be 1 hour off. (When time is 20:00 in GMT, it's 21:00 in Sweden, to avoid any confusion). It's showing GMT -1..

          Does this have any influence whatsoever on how well the rules/NAT forwards work, by the way?

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

            Is your time zone on the pfSense box set to a GMT offset, or to a geographic name like Europe/Stockholm ?

            If you're on the offset, try the other setting.

            It should have no effect on NAT or anything else, besides perhaps scheduling if you are using that feature. It's usually only a cosmetic issue.

            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
            • S
              schimmel
              last edited by

              It's currently set to Europe/Stockholm, I have tried with the GMT setting as well. Error is the same. I guess there is just simply a bug in how the firewall log displays time, as all other places where time is shown, it's correct.

              A sidenote which perhaps might be of interest for debugging: If I run a syslog server or Wireshark, the time in those programs are shown correctly.ย  However of course I don't know if any time stamp is sent with the data from pfsense to the syslog server, or if the programs just use the computer clock.

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