Windows 10: Can i exclude set of IP Address range from the Windows Firewall Rule?

Discus and support Can i exclude set of IP Address range from the Windows Firewall Rule? in Windows 10 Gaming to solve the problem; Hi,I have configured some Windows Firewall outbound rules which are configured to block some ports on Windows 10 Machine.Want to know if I can exclude... Discussion in 'Windows 10 Gaming' started by MujahithMuzamil, Sep 5, 2022.

  1. Can i exclude set of IP Address range from the Windows Firewall Rule?


    Hi,I have configured some Windows Firewall outbound rules which are configured to block some ports on Windows 10 Machine.Want to know if I can exclude a range of IP addresses for a Windows Firewall rule? It seems that kind of feature is not available with the Windows Firewall.Appreciate if you can help me with this.Thanks,Muja

    :)
     
    MujahithMuzamil, Sep 5, 2022
    #1
  2. mike1127 Win User

    firewall rule to block addresses NOT on an IP list?


    I am just starting to learn the Windows Firewall (working on both Windows 7 and 10) and I'm not impressed with the inflexibility of its rules. I would like to know if


    1. Is there is a way to do what I want with Windows Firewall?
    2. Is there is a third-party firewall that would do it?


    What I want to do is create a rule that blocks outgoing connections, for program X, that are to a destination **NOT** in an IP list.


    Windows Firewall is not very flexible in how you specify IP list rules. When you give an IP list, your rule will match that list... you can't say "trigger the rule for non-matching IP addresses." Therefore to allow outgoing connections to a list, you have to


    1. Change the entire firewall policy to block outgoing connections by default so that you can create an "allow rule" matching your list. This will mess up the rest of your programs.


    2. Somehow combine a block rule and allow rule. Create a block rule for most traffic, with the "allow" rule overriding it when appropriate. However, this doesn't appear to be possible in general. It **may** be possible for connections that use IPSec, I'm not sure. And I'm not sure if I can use IPSec in my application.

    And is there a third-party firewall that can do it? Most 3rd-party firewalls are LESS sophisticated than Windows Firewall, because the use case they are addressing is providing an interface that doesn't require much comprehension. I need one that's actually MORE sophisticated than Windows Firewall.
     
    mike1127, Sep 5, 2022
    #2
  3. -YB
    -YB Win User
    How to block any incomming and outgoing ip traffic for given ip ranges with Windows 10 Firewall?

    Hello

    I want to block any tcp/ip communication between my Ii-System and some ip ranges. The reason is, that I like to use Edge, which has a google core now, and I do not want my computer system to communicate with google at all.

    I already wrote a program, which extracts all ip ranges, I would like to block. I would like to use the standard windows firewall.

    Just adding a blocking rule for those ip ranges with all ports, applications and protocols did not work sufficiently. Even if I switch of all outgoing rules, by default, anything should be blocked, I can still connect to the internet and visit google pages.
    But I do not want to send any ip package to one of those blocked ranges at all. And I do not want to respond to any request send from an ip address within those ranges.

    Which order of rules is used within the windows firewall? If something is forbidden by one rule and allowed by another, which rule has priority? Is there a debugging possibility with more details than the log, where the decision for ip packages can be monitored?

    Remark: I do not want to discuss my decision to block google out of my life, I just want to know, how to block the communication to any given ip range.

    Thanks a lot for your help!
     
  4. bencrutz Win User

    Can i exclude set of IP Address range from the Windows Firewall Rule?

    Assigning Static IP Address Range in a Router

    yep, pretty much all.

    for point #2 if you are having difficulty binding static IP in the router, it is ok to set static IP in the camera instead - just make sure you take a note on which IP is which camera so that you wouldnt put the wrong IP in the port forwarding.


    am not sure what you meant. you don't need ddns to access the camera locally (from inside your LAN) *Confused Can i exclude set of IP Address range from the Windows Firewall Rule? :confused:
     
    bencrutz, Sep 5, 2022
    #4
Thema:

Can i exclude set of IP Address range from the Windows Firewall Rule?

Loading...
  1. Can i exclude set of IP Address range from the Windows Firewall Rule? - Similar Threads - exclude set Address

  2. Broken script for blocking IP addresses in firewall rule.

    in Windows 10 Gaming
    Broken script for blocking IP addresses in firewall rule.: Hi there, I am trying to run a powershell script that I got using chat gpt. The script is supposed to block a range of ip addresses from a text document and create a block rule in windows defender firewall.The script runs it and creates the rule, but the rule has no details...
  3. Broken script for blocking IP addresses in firewall rule.

    in Windows 10 Software and Apps
    Broken script for blocking IP addresses in firewall rule.: Hi there, I am trying to run a powershell script that I got using chat gpt. The script is supposed to block a range of ip addresses from a text document and create a block rule in windows defender firewall.The script runs it and creates the rule, but the rule has no details...
  4. Is it possible to add IP address in the firewall rule via GPO through Powershell

    in Windows 10 Gaming
    Is it possible to add IP address in the firewall rule via GPO through Powershell: Hi Experts,Is there any possible way to add an IP address in the firewall rule via GPO through PowerShell? I have searched on the internet I am not able to find any relevant link.If its possible could someone please let me know how to do that ?I have attached the relevant...
  5. Is it possible to add IP address in the firewall rule via GPO through Powershell

    in Windows 10 Software and Apps
    Is it possible to add IP address in the firewall rule via GPO through Powershell: Hi Experts,Is there any possible way to add an IP address in the firewall rule via GPO through PowerShell? I have searched on the internet I am not able to find any relevant link.If its possible could someone please let me know how to do that ?I have attached the relevant...
  6. Hello, I've created firewall rules to block several remote ip addresses for inbound...

    in Windows 10 Software and Apps
    Hello, I've created firewall rules to block several remote ip addresses for inbound...: Hello, I've created firewall rules to block several remote ip addresses for inbound connections. Windows defender firewall 11 seems to be ignoring my custom firewall rules, and I ma still receiving junk & porn gmails from these ip addresses. I've created a new custom rule and...
  7. Can i exclude set of IP Address range from the Windows Firewall Rule?

    in Windows 10 Software and Apps
    Can i exclude set of IP Address range from the Windows Firewall Rule?: Hi,I have configured some Windows Firewall outbound rules which are configured to block some ports on Windows 10 Machine.Want to know if I can exclude a range of IP addresses for a Windows Firewall rule? It seems that kind of feature is not available with the Windows...
  8. Can i exclude set of IP Address range from the Windows Firewall Rule?

    in Windows 10 Network and Sharing
    Can i exclude set of IP Address range from the Windows Firewall Rule?: Hi,I have configured some Windows Firewall outbound rules which are configured to block some ports on Windows 10 Machine.Want to know if I can exclude a range of IP addresses for a Windows Firewall rule? It seems that kind of feature is not available with the Windows...
  9. Create outbound IP address rule for 127.0.0.1

    in AntiVirus, Firewalls and System Security
    Create outbound IP address rule for 127.0.0.1: If someone says to create a firewall rule 127.0.01 to 127.0.0.1 how would I do that? 163530
  10. firewall rule to block addresses NOT on an IP list?

    in Windows 10 Network and Sharing
    firewall rule to block addresses NOT on an IP list?: I am just starting to learn the Windows Firewall (working on both Windows 7 and 10) and I'm not impressed with the inflexibility of its rules. I would like to know if 1. Is there is a way to do what I want with Windows Firewall? 2. Is there is a third-party firewall...