Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to block 1 ip address from connecting to my computer. However I am confused by this screen: enter image description here

If the rule is set to block ip, but I cannot get a way to allow local ips. Is there a way to chose under "which local Ip addresses does this rule apply to" and chose none?

share|improve this question
    
Anything that is not explicitly blocked is permitted with a block rule. Blocking a single IP means only that IP will be blocked. Am I misunderstanding your question? –  Paul Mar 15 '13 at 1:30
    
Im just confused by the phrase "Any IP Address". If the rule is for blocking, does the "Any IP address" under the local ip section mean ALL ips or no ips? –  agz Mar 15 '13 at 18:16
add comment

1 Answer

When thinking about firewall rules, you always consider the rule as a whole, not its parts.

So in the above, we are saying

All Local IP addresses

AND

Remote Address 1.1.1.1

So to translate into English, "If the remote address is 1.1.1.1 and the local address is any IP, then block, otherwise permit."

So the consequence is that if the remote address is not 1.1.1.1 then this rule will not be matched, and so not block. Any address that is not 1.1.1.1 will be implicitly permitted.

share|improve this answer
    
So how would I be able to allow any local ip and block only 1.1.1.1? –  agz Mar 25 '13 at 2:21
    
@agovizer That seems to be the same as my sentence above, have I misunderstood? –  Paul Mar 25 '13 at 2:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.