A gateway is a computer which connects two communications networks, possibly converting protocols where these differ between the networks.