CacheGuard-OS
User's Guide - Version UF-2.3.5
Date & Time
Many services in CacheGuard-OS, such as (but not limited to) Web caching, antivirus, and URL guarding, depend on the CacheGuard appliance’s internal clock. In addition, certain periodic tasks should run during off-peak hours to avoid affecting end users during business hours. That is why setting the correct date and time is essential for operating CacheGuard-OS efficiently.
It is also important to note that the current real time on a CacheGuard appliance depends on the time zone in which it operates. For example, to set the time zone to Berlin (Germany), use the following commands:
- timezone Europe/Berlin
- apply
You can use the
timezonelist command to display the list of all available time zones. The internal clock can be manually configured using the
clock command or automatically synchronised using remote NTP (Network Time Protocol) servers.
Manual Setting
To manually set the date and time, use the
clock <YYYY/MM/DD-hh:mm:ss> command, where
<YYYY/MM/DD-hh:mm:ss> is defined as follows:
- YYYY – a 4-digit year
- MM – a 2-digit month
- DD – a 2-digit day
- hh – a 2-digit hour
- mm – a 2-digit minute
- ss – a 2-digit second
For example, a valid date and time specification is:
2024/03/20-03:06:26.
NTP Servers
To maintain an accurate clock on a CacheGuard appliance, it is highly recommended to use secure and reliable NTP servers. For security and redundancy, it is best to rely on at least three NTP servers and always use an odd number of servers from different providers. The
ntp command allows you to manage NTP servers. For example, to add an NTP server with the IP address
192.168.0.1, use the following commands:
- ntp add 192.168.0.1
- apply