Windows – Open a port safely in firewall for a PC connected to Internet

firewallwindows 7windows firewall

This is related to this question PCs in same network can not communicate
My real problem was that I have a web application I want to test running in PC1 but I noticed I could not even ping the machine.
By opening firewall ping is possible.
By opening a rule for the port of the web application I need to access, I can reach my web application.

Problem:

It is not clear to me how can I safely add a rule to the firewall so that I don't have problems from public network.
I tried to specify a rule to open the port to be accessed from a specific address only, but it required the connection to be secure.
Mine isn't.

So how can I configure a safe rule in my case?

Best Answer

It is not clear to me how can I safely add a rule to the firewall so that I don't have problems from public network. I tried to specify a rule to open the port to be accessed from a specific address only, but it required the connection to be secure. Mine isn't.

This is a pretty lame error message. In order for you to configure a Windows Firewall rule to allow only certain computers, you gotta change the rule at the beginning to "Allow the connection only if it is secure."

But alas, this is not the setting you want. The "Allow only these computers" really should read "Allow only these Windows Authenticated computeres".

The setting doesn't actually authenticate based on certificates because, that means the Firewall would actually have to allow the connection first, then verify the certificate. . .

Related Question