Questions tagged [windows-firewall]

"Windows Firewall" refers to the built in client firewall utility that ships with the Windows operating system. (It was previously named the Internet Connection Firewall.) By default, all Windows operating systems since Windows XP and Windows Server 2003 have shipped with this client.

Windows Firewall Logo

"Windows Firewall" refers to the built in client firewall utility that ships with the Windows operating system. (It was previously named the Internet Connection Firewall.) By default, all Windows operating systems since Windows XP and Windows Server 2003 have shipped with this client.

460 questions
3
votes
1 answer

Block an application from accessing the network, except for a single IP address

How would I go about preventing a specific .exe from accessing any network (TCP) resources, with the exception of 1 or 2 IP addresses? Can it be done with Windows Firewall (netsh or UI) and/or IPSec? If so, how? Note: I don't want to set my…
Adam Plocher
  • 143
  • 7
3
votes
2 answers

Windows Firewall: Apply local firewall rules

I have an environment where we have a GPO which we have set on all profiles to have the setting: Apply local firewall rules: No I've confirmed that the GP is applied successfully by using gpresult/rsop. On occasion, a block rule will be added to the…
Grant C
  • 73
  • 2
  • 6
3
votes
0 answers

Enabling Network Discovery via GPO does not work when Windows Firewall turned on

Environment: Windows domain I'm trying to turn on network discovery for 100+ computers and I've created a computer-targeted GPO following instructions from this article: https://www.technig.com/enable-network-discovery-via-group-policy/ I create a…
epilyte
  • 71
  • 1
  • 3
3
votes
1 answer

Can you delete Local Firewall policies using group policy?

I want Remote Desktop on all domain computers to be only accessible from one IP. However there's a default local Allow Inbound rule for Remote Desktop on all computers that windows sets up by itself, and it allows all IPs. Is there a way to delete…
Newlo Newly
  • 33
  • 1
  • 4
3
votes
1 answer

Change or delete local windows firewall rule using group policy firewall rules

Lets say that when I install a particular program on a Windows client located on subnet 192.168.1.0/24 it creates a local firewall rule that allows inbound connections to port 1234 from ANY subnet. This is a common: anti-virus software, remote…
wrieedx
  • 750
  • 3
  • 11
  • 23
3
votes
0 answers

Windows Firewall Connection Security, require encryption with IPv6?

I've set up Windows Firewall on a Server 2012 R2 to always require IPSec Encryption for all Connection Security Rules. I've then specified Inbound Rules for specific ports and services, and configured them with the action "Require the connections to…
3
votes
0 answers

Disable Network Discovery prompt in Windows 2012 R2?

I have a deployment server (WDS + MDT) for technicians to image remote servers in the data center. Our images have all Windows Firewall profiles disabled. Problem is recently some technicians have been answering the network discovery prompt "Do…
floyd
  • 1,530
  • 4
  • 19
  • 30
3
votes
2 answers

How to use Windows netsh firewall command to allow only specific ipaddress on all port and deny all other ipaddress?

I require a configuration of firewall which will allow me connection through only specific ip-address say 10.0.0.1 on all port ranging from 0-5555 and deny all other ip-addresses? What will be the syntax of netsh firewall command to generate this…
snoop
  • 131
  • 1
  • 4
3
votes
2 answers

Windows Server FIrewall (2012) Ipsec tunnel problems

I am new to Ipsec tunnels. I have successfully created a tunnel to a Cisco offsite router using a preshare key at a supplier. In Endpoints 1 : I have the servers ip address and the remote servers ip address that I intend connecting to. In Endpoint 2…
Wize
  • 91
  • 6
3
votes
0 answers

How to simulate network partitions on windows?

Working on a project which implements a clustering algorithm. One important property of the clustering is to respect guarantees when face a network partition. To prove that clustering works I need a way to emulate partitions in my windows…
3
votes
1 answer

Windows Filtering Platform dropping SQL Server connections

I've been investigating connection issues between my web server (Web01) and a database server (Database01). My current setup: Web01 - two NICs, one external (firewalled), one internal (not firewalled). Database01 - Same configuration as above. The…
3
votes
2 answers

AWS Override VPC DHCP - Additional Option Sets for RRAS VPN Clients

I am trying to run a RRAS VPN server that pulls from a windows DHCP server running on the same box. I am finding that the AWS DHCP is getting hit first with the DHCP request and it provides invalid information to my clients. I need to get the DHCP…
user259840
3
votes
3 answers

Setting up FTP on Windows Server 2008, virtual machine

I am setting up a virtual machine with Windows Server 2008 that utilizes Hyper-V. I am trying to set up FTP access to the machine, but I cannot connect to the FTP server from my local machine. I can ping it and access the web server portion. This is…
Anders
  • 163
  • 2
  • 7
3
votes
3 answers

Windows Firewall: Remote Desktop block action by local policy

On a fresh domain-joined Server 2012 R2 install I see a peculiarity where an enabled "Remote Desktop" rule is set to Block in the Domain profile: As block rules take precedence over allow rules, I seem unable to effectively insert a firewall…
the-wabbit
  • 40,737
  • 13
  • 111
  • 174
3
votes
2 answers

PowerShell Firewall Management

I have a bunch of machines that I need to enable Remote Scheduled Tasks Management (RPC), Remote Scheduled Tasks Management (RPC-EPMAP), and Windows Management Instrumentation (WMI-in) on for GPO Updates. I would like to run a PowerShell script so I…
Jason
  • 3,931
  • 19
  • 66
  • 107