Home/Glossary/Gateway

Gateway

A network node that connects two systems with different protocols, data formats, or architectures to enable communication.

A gateway is a critical network node that serves as an entry and exit point for data moving between disparate networks. Unlike standard routers that operate at the network layer (L3), gateways can function at any level of the OSI model, performing protocol translation and data conversion to ensure interoperability between incompatible systems.

The device operates by stripping the control information from incoming packets and re-encapsulating the payload according to the destination network's requirements. This process is essential for connecting legacy infrastructures to modern IP networks or linking private data centers to public cloud environments.

  • Default Gateway: The routing device used by a host to forward traffic destined for addresses outside the local subnet.
  • API Gateway: A management layer that routes client requests to appropriate microservices while handling authentication.
  • Cloud Gateway: A secure bridge between on-premises hardware and cloud-based storage or compute resources.

Technical Example

In AWS or Azure environments, a NAT Gateway is used to provide internet access for instances located in private subnets. It maps multiple private IP addresses to a single public IP for outbound traffic. This configuration allows internal servers to perform apt-get or yum updates while remaining invisible to unsolicited inbound traffic from the public internet.