My Oracle Support Banner

How To Set Up a Linux OCI-C Compute (Compute Classic) Instance To Act as NAT Gateway For Private / Internal Instances (Doc ID 2385515.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Compute Cloud Service - Version N/A and later
Generic Linux


This article describes what is needed to set up an OCI-C Compute (Oracle Cloud Infrastructure Classic Compute) instance to perform NATting for other (private / internal) Cloud instances, that do not have access to the Internet, have not been assigned a public IP, do not need to be exposed to the outside world or have a requirement to access the Internet through a NAT gateway.

For setting up the similar deployment on OCI using an OCI Compute (Oracle Cloud Infrastructure Compute) instance check the following articles:
Connect Private Instances with Oracle Services Through an Oracle Cloud Infrastructure Service Gateway:
NAT Instance Configuration. Enabling Internet Access for Private Subnets:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.