Hi and thanks for reaching out! I'm an Independent Advisor and a Microsoft user like you. Please allow me to assist with your issue.
I prefer to use PowerShell. For your case, I've came up with the following. You can run it in a PowerShell (Admin).
New-NetFirewallRule -DisplayName 'Allow-Inbound-ReverseProxy' -Profile @('Domain', 'Private', 'Public') -Direction Inbound -Action Allow -Protocol TCP -LocalPort @('80','443') –RemoteAddress @('51.254.57.212','51.254.57.49')
This will create a new firewall rule named "Allow-Inbound-ReverseProxy" that applies to inbound traffic with two of the IP address you have, on all network profiles (Domain, Private, Public) for TCP port 80 and 443.
Please let me know if I can help you further!