A subnet for the Gateway is needed.
For example:
Subnets -
Now select "Subnets" and click on the "Gateway subnet" on the righthand side of the screen.
Edit the settings, and then click "OK".
Reference:
https://www.policypak.com/resources/pp-blog/windows-virtual-desktop/