---
title: OCI NAT Gateway
description: >-
  OCI NAT Gateway ensures secure and controlled outbound internet access for
  your resources within a VCN.
breadcrumbs: Docs > Integrations > OCI NAT Gateway
---

# OCI NAT Gateway
Integration version1.0.0
## Overview{% #overview %}

Oracle Cloud Infrastructure (OCI) offers a reliable and highly available Network Address Translation (NAT) solution for your Virtual Cloud Network (VCN) in the form of a NAT gateway.

This integration allows you to monitor and alert on traffic and packet loss to and from your NAT gateway by collecting metrics and tags from the [`oci_nat_gateway`](https://docs.oracle.com/en-us/iaas/Content/Network/Reference/nat-gateway-metrics.htm) namespace.

## Setup{% #setup %}

### Installation{% #installation %}

After you set up the [Oracle Cloud Infrastructure](https://docs.datadoghq.com/integrations/oracle_cloud_infrastructure/) integration, ensure that the `oci_nat_gateway` namespace is included in your [Connector Hub](https://cloud.oracle.com/connector-hub/service-connectors).

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **oci.nat\_gateway.bytes\_from\_natgw**(count)       | Number of bytes sent from NAT gateway to OCI resources.*Shown as byte*                                 |
| **oci.nat\_gateway.bytes\_to\_natgw**(count)         | Number of bytes sent from Oracle Cloud Infrastructure (OCI) resources to NAT gateway.*Shown as byte*   |
| **oci.nat\_gateway.connections\_closed**(count)      | Number of connections via NAT gateway that were closed by the internet host*Shown as connection*       |
| **oci.nat\_gateway.connections\_established**(count) | Number of connections established via NAT gateway*Shown as connection*                                 |
| **oci.nat\_gateway.connections\_timed\_out**(count)  | Number of connections closed by NAT gateway due to idle time out*Shown as connection*                  |
| **oci.nat\_gateway.drops\_to\_natgw**(count)         | Number of packets from OCI resources to NAT Gateway that were dropped by NAT Gateway.*Shown as packet* |
| **oci.nat\_gateway.packets\_from\_natgw**(count)     | Number of packets sent from NAT gateway to OCI resources.*Shown as packet*                             |
| **oci.nat\_gateway.packets\_to\_natgw**(count)       | Number of packets sent from OCI resources to NAT gateway.*Shown as packet*                             |

### Events{% #events %}

The OCI NAT Gateway integration does not include any events.

### Service Checks{% #service-checks %}

The OCI NAT Gateway integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
