A gateway works in which layer of the OSI model?

Technical