Configuring NTP on the Private Gateway

Bases de conocimiento

Configuring NTP on the Private Gateway


Icons/System/eye-open Created with Sketch. 4 visualizaciones 23.04.2026 Configuración

Objective

The private gateway allows you to use an NTP server.

This guide explains how to configure the NTP service on the private gateway of your Hosted Private Cloud infrastructure.

Requirements

Instructions

Architecture

The private gateway is not routed by default. Only machines on the same subnet can access the NTP server directly. For access from another network, a source NAT must be configured.

NTP private gateway - Architecture

Configuring NTP on the private gateway

Retrieve the private gateway IP address

Make the following API call to retrieve the private gateway information and get the value of customerIp:

NTP private gateway - API call

Install chrony

On the relevant VM, run the following command:

apt-get install chrony

Configure chrony

Edit the /etc/chrony.conf file by adding the private gateway server IP address and removing the default configuration.

NTP private gateway - Configuration

Restart chrony

Restart the chrony service:

systemctl restart chrony

Check the client

Verify that the VM is correctly connecting to the server:

chronyc sources

NTP private gateway - Server Check

Verify that the synchronization is working:

chronyc tracking

NTP private gateway - Synchronization check

Go further

Join our community of users.

Artículos relacionados