Gateway is not something you open to let people in. A gateway is a network point—a node—that acts as an entrance to another network. Its a device which allows the
exchange of data by translating between the protocols of two different networks or computers on the connected networks. In the case of your residential connection, the gateway is your ISP.Gateways are different from Bridges in the sense that a bridge only links LANs together, sending data to another LAN while keeping local data within its own network. Along the way, the data we transact, apart from passing through several routers, gateways etc., is also dependent on an indispensable device called a Server. Servers are of different
types, and they perform several important functions. to serve the client computer.

