Windows 10: How to config firewall to block all for one program but allow somw

Discus and support How to config firewall to block all for one program but allow somw in AntiVirus, Firewalls and System Security to solve the problem; Trying to configure my Windows 10 (Enterprise) to block all from a specific program but to allow some ports for that program. For example, on my... Discussion in 'AntiVirus, Firewalls and System Security' started by deanwarrenuk, Aug 30, 2018.

  1. How to config firewall to block all for one program but allow somw


    Trying to configure my Windows 10 (Enterprise) to block all from a specific program but to allow some ports for that program. For example, on my Windows 10 work PC I am running Oracle VirtualBox. I need to block all external network access to VirtualBox e.g. Internet and alike, but allow all internal networking e.g. corporate Git/file servers.

    I seem to be able to only block everything or allow everything (for VirtualBox). Don't seem to be able to get something in between. I have tried specific blocking rules - no luck. I have tried to block all, then provide an allow rule to override - no luck.

    I understand the presendence is: blocked with override, blocked, allowed.

    Please advise on how to configure Windows firewall to either: block everything for a program but allow certain ports for a certain program, or block certain ports for a certain program.

    FYI: I have two NICs configured on VMs, NAT and Host-only.

    Thanks in advance...

    :)
     
    deanwarrenuk, Aug 30, 2018
    #1

  2. FIREWALL IS BLOCKING CERTAIN PROGRAMS

    Hi Joseph,

    Thank you for posting on Microsoft Communities.

    I will be glad to help you with the issue you have with the computer. I understand the frustration when things don't work the way it should.

    One of the most common problems when using a network firewall is that it sometimes blocks network traffic that you want to allow.

    Please follow the below step to troubleshoot with the issue:

    • Open the “Control Panel“.
    • Select “System and Security.
    • In the Windows Firewall section, select “Allow a program through Windows Firewall“.
    • Unchecking the box to the left of the application name disallows it from accessing network resources, while checking it allows access.
    • If the program you wish to block or unblock is not listed, you can click the “Allow another program…” button to add it. Choose the application in the list and select “Add“. If the program is not in this list, use the “Browse…
      button to select the program file manually.
    Hope this information is helpful. Please post in case you have any further issues, I will be glad to help you further.

    Thank you.


     
    Ruth Buruga, Aug 30, 2018
    #2
  3. lynx29 Win User
    I need a firewall that allows me to easily block / unblock programs.

    Yep, I don't care what program it is, but if anyone knows of a program that simply lets me right click a desktop .exe icon and from the list it will bring up, just have a direct shortcut in that list to block it in firewall with a single click... would be fantastic. If that doesn't exist its fine, an extra 2-3 clicks isnt going to kill me lol
     
    lynx29, Aug 30, 2018
    #3
  4. How to config firewall to block all for one program but allow somw

    I need a firewall that allows me to easily block / unblock programs.

    Remind us all of your Windows version?
     
    lexluthermiester, Aug 30, 2018
    #4
Thema:

How to config firewall to block all for one program but allow somw

Loading...
  1. How to config firewall to block all for one program but allow somw - Similar Threads - config firewall block

  2. How to block all programs in a given location using Windows Firewall?

    in Windows 10 Network and Sharing
    How to block all programs in a given location using Windows Firewall?: This post is an extension to my earlier post on the same subject.The batch file linked in that post does a good job of adding rules to Windows Firewall.The problem with this is that the number of rules can become too large over time. Also, a new set of rules must be created...
  3. Windows Firewall Block (Mostly) All Outbound But Allow Windows Update?

    in Windows 10 Ask Insider
    Windows Firewall Block (Mostly) All Outbound But Allow Windows Update?: Im trying to improve W10 security by using Windows Firewall to block all outbound connections and only allow my select programs and services to connect. One issue ive found no solution for is how to make key Windows 10 components like Windows Update work without allowing...
  4. how do I block a program in a firewall?

    in AntiVirus, Firewalls and System Security
    how do I block a program in a firewall?: how do I block a program in a firewall? https://answers.microsoft.com/en-us/protect/forum/all/how-do-i-block-a-program-in-a-firewall/ff53f7b0-8814-435b-8677-af81cae5cc1f
  5. Windows Firewall -- Blocking a program causes it to be allowed

    in AntiVirus, Firewalls and System Security
    Windows Firewall -- Blocking a program causes it to be allowed: [ATTACH] I went into my firewall settings. I set an inbound and outbound rule to block a program on all networks. It appeared to work. But when I went into the "allow applications" options, I see that my newly-created rules are there. Why is this? The only way I can remove...
  6. block program in firewall

    in Windows 10 Network and Sharing
    block program in firewall: How do I block a program from connecting to internet in windows defender firewall? https://answers.microsoft.com/en-us/windows/forum/all/block-program-in-firewall/0bf73322-b39c-4884-95e4-06631eeb35d5
  7. How to block a complete program folder in defender firewall ?

    in AntiVirus, Firewalls and System Security
    How to block a complete program folder in defender firewall ?: Hello In windows defender firewall can I block a complete folder named ex: (google) or ex: (nero) , instead of individual apps in sub folders in the folder, so I can block entire program instead of just one app at a time ? I don't want to turn apps on or off one at a time,...
  8. Windows Firewall - all inbound/oubound allowed but still some applications are blocked

    in AntiVirus, Firewalls and System Security
    Windows Firewall - all inbound/oubound allowed but still some applications are blocked: Hi, I have the following network setup: Network 1: computer A and B Network 2: computer B and C Computer B has two network adapters with separate subnets. All computers have the same firewall settings. - Firewall = ON - Inbound connections = Allow - Outbound...
  9. Smartscreen blocked by firewall - how to add rule to allow?

    in AntiVirus, Firewalls and System Security
    Smartscreen blocked by firewall - how to add rule to allow?: Hello I have my firewall configured to block outbound connections that don't meet a rule. Although there are the default rules for Smartscreen still enabled, smartscreen still gives it's error message "Windows smartscreen can't be reached right now". If I enable all outbound...
  10. Blocking a program in firewall?

    in AntiVirus, Firewalls and System Security
    Blocking a program in firewall?: I'm trying to block a program from connecting to the internet and I followed these instructions: How to Block a Program From the Internet in Windows 10 - Simple Help for blocking a program from the windows firewall, but it doesn't seem to work. When I go into the...