Configuring the chronyd Service

To configure the chronyd service on a system:
  1. Optional: If the chrony package isn't installed, run the following command.
    sudo dnf install chrony
  2. If remote access to the local NTP service is required, configure the system firewall to allow access to the NTP service in the appropriate zones.

    For example:

    sudo firewall-cmd --zone=zone --add-service=ntp
    sudo firewall-cmd --zone=zone --permanent --add-service=ntp
  3. Start the chronyd service and configure it to start following a system reboot.

    Note:

    By default, chrony is enabled after installation.
    sudo systemctl start chronyd
    sudo systemctl enable chronyd