A gateway is a hardware device that acts as a ” gate ” between two networks.
It can also be a router, firewall, server, or any other device that enables traffic to flow in and flow out of the network.
Where a gateway protects nodes within the network, it is also a node itself. This gateway node is considered at the top of the ” edge ” of the network because all the data must flow through it, whether it is going outside the network or within the network.
It can also translate the data received from outside the network into a format or protocol that the devices in the internal network can recognize (recognize).
A router is a very common type of gateway that we use in home networks. This allows the computers within a local network to be able to send and receive data in the Internet .
A firewall is a gateway of more advanced type, which filters inbound and outbound traffic, while also disallow incoming data from suspicious or unauthorized sources.
A proxy server is also a different type of gateway that uses a combination hardware and software, so that it can filter traffic between two networks.
For example, a proxy server can only allow authorized websites of a list to access local computers .