Hello Peter_1985,
Thank you for posting in Q&A forum.
To whitelist a specific IP address on a Windows Server 2019 firewall, you could create an inbound rule for it.
Then you could use PowerShell to Verify:
Open PowerShell as an administrator.
Run the following command to list all firewall rules and check for your specific rule:
Get-NetFirewallRule | Where-Object { $_.DisplayName -eq "Whitelist Specific IP" }
To check the IP addresses associated with the rule, use:
Get-NetFirewallAddressFilter -AssociatedNetFirewallRule (Get-NetFirewallRule -DisplayName "Whitelist Specific IP")
Reference:
Get-NetFirewallRule (NetSecurity) | Microsoft Learn
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.