question about firewall outbound rules


  1. Posts : 81
    Windows 10 Pro
       #1

    question about firewall outbound rules


    hi there :)
    I intend to create an outbound rule in Windows Firewall to block connections certain software might attempt to make.
    My question is if I can add an IP exception, like blocking all outbound connections with the exception of certain IP address where the software may connect, which is actually my website's ftp server.
    I've surfed in rules settings and I cannot find it.
      My Computer


  2. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #2

    Use hosts file under C:\Windows\System32\drivers\etc instead.
    Example:
    127.0.0.1 http://www.yahoo.com
    will block yahoo website.
      My Computer


  3. Posts : 81
    Windows 10 Pro
    Thread Starter
       #3

    topgundcp said:
    Use hosts file under C:\Windows\System32\drivers\etc instead.
    Example:
    127.0.0.1 http://www.yahoo.com
    will block yahoo website.
    Hi Topgundcp
    I don't understand, what i want is to block a program to all outbound connections except my website's ftp server IP address.
    Can you do that in hosts??
      My Computer


  4. Posts : 8,111
    windows 10
       #4

    If your blocking just one program you can use the host you cant block all connections that way
      My Computer


  5. Posts : 81
    Windows 10 Pro
    Thread Starter
       #5

    Samuria said:
    If your blocking just one program you can use the host you cant block all connections that way
    There is something no one is getting right.
    I DO NOT WANT TO BLOCK ALL CONNECTIONS
    I want to block all outbound connections from a certain program EXCEPT my FTP's IP address.
    To that IP address I DO WANT THE SOFTWARE TO CONNECT
    Is that possible?
      My Computer


  6. Posts : 81
    Windows 10 Pro
    Thread Starter
       #6

    someone?
      My Computer


  7. Posts : 8,111
    windows 10
       #7

    Still not clear is the ftp and the software going to the same ip or not and what ports are the using what is the software
      My Computer


  8. Posts : 5
    Windows 10
       #8

    Add a custom rule at the windows firewall. Choose the program and in the scope section of the rule specify the ip ranges that you don't want the program to send packets. like: 0.0.0.0 - (IP address of your FTP Server - 1) add a second range (IP address of you FTP Server + 1) - 255.255.255.255
    In the action section use block connection.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:58.
Find Us




Windows 10 Forums