Hi,
I'd be happy to help you out with your question. Sorry for the inconvenience caused.
- It's generally not recommended to install the Remote Desktop Gateway (RD Gateway) role on the same server as the Remote Desktop Session Host (RDSH) because this configuration could potentially expose the RDSH to external threats. The RD Gateway server acts as a middleman between the remote client and the RDSH, providing an added layer of security by authenticating the user and encrypting the traffic. Installing the RD Gateway role on the RDSH server would remove this added layer of security.
- Yes, you would need separate Client Access Licenses (CALs) for both the RD Gateway and the RDSH servers. CALs are required for each user or device that connects to the RDS environment, regardless of whether they are connecting through the RD Gateway or directly to the RDSH server. Each server that is running the RDS role must also have the appropriate number of RDS CALs installed.
If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.