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

    NTP

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 535 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.
    • N
      nd-t
      last edited by

      Is there a configuration file to set NTP on pfSense?

      I know we can change it in Services > NTP , but I have a situation where I need to change the NTP servers for a large quantity of servers so I was hoping there was a way to use something like Ansible to make a mass change.

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

        @nd-t said in NTP:

        NTP servers for a large quantity of servers

        By servers you mean pfsense devices. The NTP servers pfsense uses would be in the config file, xml - it would be possible to directly edit this file I assume... But not sure how you would force a reload of that without a reboot.

        Possible just restart of the ntp service would reload the info from the xml file.

        Just my curiosity kat meowing at me - but why would you want/need to change that. Are they all pointing to ntp that is on your network, and that is going away and you had IP hard coded vs fqdn?

        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

        N 1 Reply Last reply Reply Quote 0
        • N
          nd-t @johnpoz
          last edited by

          @johnpoz
          pfSense running in AWS instances.

          We were initially thinking of changing the config.xml file directly, but we won't be able to restart pfSense. Changing the NTP via GUI doesn't seem to disrupt our clients so that's the 'safe' method... we just have a lot of instances so it's quite the manual process.

          We might have to test if changing the config.xml file, then just restarting the NTP service allows it to take effect.

          @johnpoz said in NTP:

          Are they all pointing to ntp that is on your network, and that is going away and you had IP hard coded vs fqdn?

          I'm actually not 100% sure, I joined this company a few weeks ago so I'm still more in the observing and following directives mode. :)

          F 1 Reply Last reply Reply Quote 0
          • F
            flat4 @nd-t
            last edited by

            @nd-t

            I would have never thought to run pfsense in AWS. How are your clients connecting to the internet to get to their pfsense instance?

            1 Reply Last reply Reply Quote 0
            • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.