server
Install Time Synchronization Service
enter the configuration file
#Comment out these configuration files.
Allowed network segments
uncomment
Restart the service
Firewalls and subsystems need to be turned off
client
Install Time Synchronization Service
into the configuration file
Write the IP address of the server
restart service
Turn off the firewall subsystem
Enter the chrony graph, and check the status. An asterisk before the IP address means that the synchronization is successful.