How to Create Cloud NAT on Google Cloud Platform

NAT enables private IP networks that use unregistered IP addresses to connect to the Internet. NAT operates on a router, usually connecting two networks together, and translates the private (not globally unique) addresses in the internal network into legal addresses, before packets are forwarded to another network.

 

  • Login to google cloud platform portal.
  • Click on Network Services.
  • Select Cloud NAT.

 

Fig 1

 

  • Click on Get Started.

 

Fig 2

 

  • Provide the NAT gateway name.
  • Select Default or Existing VPC Network.
  • Select Region.
  • Click on Cloud Router.

 

Fig. 3

 

  • Click on Create new router.

 

Fig. 5

 

  • Provide router name.
  • Click on create.

 

Fig. 5

 

  • We can provide NAT IP address manually otherwise select automatic.
  • Click on Advanced configuration.

 

Fig. 6

 

  • Select Stackdriver logging for translation & errors logs.This sends all logs to Cloud Logging.
  • Leave the other configurations.
  • Click on Create.

 

Fig. 7

 

  • After sometime Cloud NAT is ready then go to NAT gateway home page.
  • Cloud NAT is there with the name we provide.

 

Fig. 8

 

Leave a Reply