SNAT vs DNAT
NAT (Network Address Translation) is a technique that allows communication between private and public networks by modifying IP addresses. NAT makes changes to either the source or the destination address in headers and then forwards the packet.
SNAT: SNAT (Source Network Address Translation) modifies the source IP address of outgoing packets from a private network to a public IP address. In this case, the destination will not be able to see who created the requests.
DNAT: DNAT (Destination Network Address Translation) remaps the destination IP address of incoming packets from the internet to a specific IP address within the private network.
In short, SNAT modifies source IP addresses for outgoing traffic and DNAT modifies destination IP addresses for incoming traffic.
Read more about NAT and how it works: https://devopscube.com/what-is-nat-how-does-nat-work/