Repository navigation
Lab: 53 Nat gateway testing
TanveeKhanDB edited this page Aug 22, 2026
·
7 revisions
In this lab will show how the private instance under spoke will be able to dowanload requiered softwares from internet without exposing his identity public
-
In OCI, a NAT (Network Address Translation) Gateway allows resources in a private subnet to initiate connections to the Internet while keeping their private IP addresses hidden from the Internet.
-
“A NAT Gateway in OCI provides outbound Internet connectivity to resources in private subnets without assigning public IP addresses to those resources. The private subnet route table sends 0.0.0.0/0 traffic to the NAT Gateway, which performs source NAT using its public IP before sending traffic to the Internet.
Destination CIDR: 0.0.0.0/0
Target: NAT Gateway
Steps by step process to Create NAT gateways and downaload the telenet and http in private instance inside Meesho_pvt_instance in Spoke by OCI Console:
vi ~/.ssh/key.pem
chmod 600 ~/.ssh/key.pem
ssh -i ~/.ssh/key.pem opc@10.0.1.21
6. Step: Downloading the telent and http in Meesho_pvt_instance by NAT post switching to root level.
Sudo su - root
yum install telnet
yum install httpd
rpm -q telnet
rpm -q httpd