Help Center> NAT Gateway> FAQs> DNAT Rules> Why Do I Need DNAT?
Updated on 2023-05-09 GMT+08:00

Why Do I Need DNAT?

In a public NAT gateway, DNAT enables servers in a VPC to share an EIP to provide services accessible from the Internet. With an EIP, a public NAT gateway forwards the Internet requests from only a specific port and over a specific protocol to a specific port of a server, or it can forward all requests to the server regardless of which port they originated on. For details, see Adding a DNAT Rule..

In a private NAT gateway, DNAT enables servers that share the same transit IP address in a VPC to provide services accessible from on-premises data centers or other VPCs. For details, see Adding a DNAT Rule.

DNAT Rules FAQs

more