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

    Pfsense + ntp

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 4 Posters 8.1k 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.
    • K
      krisken
      last edited by

      How can i set my pfsense router as a ntp server (on the pool.ntp.org project)?  I can't find openntp into the packages list.  And which ports do i have to open?

      1 Reply Last reply Reply Quote 0
      • C
        clarknova
        last edited by

        You don't need to install any package. Go to Services: OpenNTPD and enable the service. Select the interfaces you want it to respond on. You will have to allow port 123 on those interfaces.

        db

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

          This is what i did…without success...

          http://kris.derocker.name/index.php?dir=pfsense%2Fntp%2F

          1 Reply Last reply Reply Quote 0
          • C
            clarknova
            last edited by

            Did you create a NAT rule? Delete that. You need a firewall rule, but not a NAT Rule.

            db

            1 Reply Last reply Reply Quote 0
            • chpalmerC
              chpalmer
              last edited by

              Assuming that you have enabled NTP server on your WAN address then point your firewall rule to "WAN Address".  I assume 10.0.0.1 is your LAN address…

              Your firewall administration rule can also point at your "WAN address"

              Firewall.JPG
              Firewall.JPG_thumb

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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

                Well i did everthing…but nothing helped...
                Could someone please take a look at the server itself?

                1 Reply Last reply Reply Quote 0
                • W
                  wallabybob
                  last edited by

                  @krisken:

                  Well i did everthing…but nothing helped...

                  Its unlikely you have done everything so please elaborate what you have done and what you expect to happen that isn't happening.

                  You have made no mention of configuring an NTP client. Have you done so? The configuration information you have provided show ntp server enabled on the WEEPEE01 interface. Therefore you need a firewall rule on the WEEPEE01 interface allowing access to UDP port 123 from whatever clients you want to allow. Then you need to configure ntp on the client(s) to use the pfSense box (IP address of the pfSense WEEPEE01 interface) as its NTP server. You might need to reboot the client. Client NTPs sometimes report what they have done. Have you checked such logs? ntpd on one of my Linux systems regularly writes records like

                  Dec  8 06:20:51 mythbox ntpd[7413]: synchronized to 192.168.211.173, stratum 4
                  Dec  8 06:27:24 mythbox ntpd[7413]: time reset +2.452386 s

                  in /var/log/syslog

                  Have you checked the pfSense firewall log to see if ntp client attempts to access the server have been blocked?

                  Unfortunately my pfSense ntpd log remains empty (clog /var/log/ntpd.log) after some days of operation - not even a ntpd startup message.

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