Problems like this occur due to a badly executed configuration, I recommend that you consult the article below with a problem similar to yours, I believe it can help:
---If the answer is helpful, please vote positively and accept the answer--
Hope you can help. I am experiencing a strange issue with a windows 2016 firewall.
The server has two nic card, one is to the corporate network and set as "domain" profile. Another one is connect to a network without "internet" and set as "Public" profile. We set the firewall have different policies for the domain and public and private (not used). For example, the policy for public profile does not allow rdp while Domain does.
Everything runs fine until a power outage last Thursday. After the server came up, I need to disable the nics and re-enable so the network profile (domain and public) automatically re-assign to each correct nic.
The problem now is... with the policy to the "Public" profile nic turned on, we cannot rdp or ping to the corporate nic with "Domain" profile policy assigned. We need to turn the policy for "Public" profile off in order to make it to work.
We double checked the policies for the network profiles but they are all correct.
May I ask what to check? Did i miss something somewhere? It is a strrange behaviour.
Thank you very much for your help in advance. Happy Thanksgiving.