You are correct, VPN gateway is a server, either a dedicated physical device or cloud-based service, that manages and secures VPN connections. It is the central point for the remote users to securely connect to private networks for data transfer. Also read
https://webavior.com/vpn-gateway/