How to Restrict RDP Connections Access Scope in Windows Firewall?
1. Open the Windows Firewall and find the RDP rule
2. Right-click the rule, click the properties, click Scope
In the Remote IP address, change Any IP address to These IP address, and then click add to add the IP address that you allow RDP
3. You can add a single IP address or IP address range
4. Click OK
5. Now the RDP connection scope of your server has been restricted.