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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Restricting Ping Access to Public IP Only When VPN Connection is Active on Windows Server

I have configured a Windows Server with a public IP address and set up Routing and Remote Access. After configuring Routing and Remote Access, I selected custom settings and enabled NAT and VPN. I ...
Harsh's user avatar
  • 1
0 votes
1 answer
81 views

check if Windows Firewall is allowing an Application

tl;dr using Powershell, how do I check if the Windows Firewall is allowing an application? Using Windows 10, I want to programmatically check if an Application is allowed through the Windows Defender ...
JamesThomasMoon's user avatar
0 votes
0 answers
106 views

Windows Server - create firewall rules from network trace?

A good basis for firewall rules would be Zero Trust - only allow what is needed. But in many cases, you do not know all the needed rules for a server connection. As a result in many evironments, the ...
David's user avatar
  • 1
0 votes
0 answers
47 views

netsh advfirewall import resets connections

On Window Server 2022, if I run this: netsh advfirewall export"C:\firewall-rules.wfw" then, straight away run this: netsh advfirewall import "C:\firewall-rules.wfw" Meaning I ...
Matt's user avatar
  • 1
1 vote
1 answer
442 views

How to whitelist IP Address in IPBan Application?

I have a Windows server with IPBan(https://github.com/DigitalRuby/IPBan). sometimes its blocks my local system IP. How can I whitelist the IP Addresses in the IPBan Application?
Stanley's user avatar
  • 56
0 votes
0 answers
42 views

How to block all traffic except established/related in windows

How would you create this configuration in the windows Netfirewall? sudo iptables -P INPUT DROP sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT sudo iptables -A INPUT -p ...
mbrain's user avatar
  • 5
0 votes
1 answer
186 views

Configure Windows Firewall to block IPs listed in Spamhaus.org

Since having suffered a hack twice on my email server, the last one VERY severe, I have been VERY proactive in monitoring my logs and taking appropriate action when I see attacks. I've installed ...
Prescott Chartier's user avatar
0 votes
0 answers
422 views

Disable or Remove Local Firewall Policies

We recently had a few VM's provisioned but I didn't realize firewall settings were baked into the local policies, see below. These are Windows 2019 instances. A lot of the rules set are for services ...
jrd1989's user avatar
  • 688
0 votes
1 answer
111 views

Disable Windows Defender Firewall pop up for a target folder

I'm encountering an issue with the Windows Defender Firewall every time I compile and run my Go program. It seems that the program's use of sockets is triggering the firewall each time a new version ...
shellwhale's user avatar
0 votes
1 answer
789 views

Could not establish WMI connection access is denied

I set up a lab to test domain joining multiple computers with a script from Microsoft. After I ran the script it came back with could not establish a WMI connection with the computer with the ...
Hagen_21's user avatar
0 votes
1 answer
2k views

Do I need to restart a daemon after creating a Windows Firewall rule?

I have a daemon running in a Windows Server 2019 with blocked outbound traffic. I have a firewall rule for the daemon's executable that allows outbound traffic and it is working well. But as part of a ...
zisk0's user avatar
  • 63
-1 votes
1 answer
39 views

I block ports using firewall still they are accessed

I am using Avast firewall. I blocked ports from 1024 to 55535 yet I see apps established connection on ports in that range. As you can see on the screenshot, the machine is making mirror connection. ...
Nealesh's user avatar
  • 99
0 votes
0 answers
122 views

Global exception for AppContainerLoopback filter in WFP

So I learned today that UWP apps (which are being ran in AppContainers) do not have access to localhost at all. So if I run a native win32 app that listens to 127.0.0.1:555 I cannot make that ...
Digika's user avatar
  • 1
2 votes
1 answer
1k views

Windows Firewall selects wrong profile after restart (PRIVATE / PUBLIC / DOMAIN)

At some servers we have the problem that after restart Windows Server selects a PRIVATE domain profile in stead of DOMAIN. We can solve the problem by resetting the Network Adapater: Restart-...
roberth's user avatar
  • 153
2 votes
0 answers
108 views

Windows Firewall: Cannot establish Network Isolation - Require Inbound Require Outbound for Domain Controller

I have a Domain Controller, and I wish to establish network Isolation with Windows Firewall, Connection Security Rules. When the DC Authentication is set to Request Inbound, Request Outbound, using ...
Victor's user avatar
  • 21
0 votes
0 answers
405 views

No domain profile in Windows Defender Firewall

We've moved from an on site server to online at our company, and we've had our user profiles rebuilt on our PC's so that we use Azure based profiles instead of domain profiles. I'm having issues ...
AutoBaker's user avatar
  • 188
-2 votes
1 answer
104 views

My IP is being blocked in windows server 2012 R2

My IP from my home is being blocked by my server (Windows Server 2012 R2). Where can I find and turn off this block? I believe it happened while working on a custom IP protocol for a program I was ...
Jon Glazer's user avatar
2 votes
1 answer
4k views

Is it safe to close the following ports in Windows Firewall for a Windows 2022 VPS web server?

I am using a Windows Server 2022 VPS as a web server to host a website only. When the VPS was first setup for me, I saw the following ports for Inbound in Windows Firewall were already enabled (the ...
Programmer Joe's user avatar
-1 votes
1 answer
275 views

I can access FTP site from Windows 10 Host Pc but not from my Virtual Machine on VMWare

On my host PC with Windows 10 I installed IIS + FTP Service (NOT FTP Extensibility). Using WinSCP software I can access this FTP site from my public static IP. I cannot access my FTP site if it is ...
Hemendr's user avatar
  • 109
0 votes
1 answer
388 views

How to restrict local admin from disbaling or changing firewall setttings

I have a scenario, where the member servers are not able to RDP to other member servers I have managed that using local firewall rules, but at same time the local admin should not able to disable or ...
asadz's user avatar
  • 145
1 vote
1 answer
2k views

Windows Server 2019 firewall not blocking inbound connections that don't meet a rule

I'm configuring a new Windows Server 2019 VPS. I have set the firewall on the Public Profile to "Inbound connections that do not match a rule are blocked" Public Profile configuration ...
Ben's user avatar
  • 121
0 votes
1 answer
567 views

Block curl requests to a particular IP

I have a setup comprising of a server, a proxy server and a client. I need to test out a simple feature where I want to ensure that all the requests are going to the server through the proxy server ...
Prateek Bajpai's user avatar
2 votes
1 answer
737 views

What is the difference between Windows Defender Firewall Settings found Locally and in Local GPO?

I have a Win 10 machine. The machine is not AD joined but is Azure joined. The FW settings are managed through Intune and I ran across a couple Win FW settings that confused me a bit. Below, from my ...
Nina G's user avatar
  • 217
-1 votes
1 answer
32 views

Running PORT exposure on Microsoft Server

So this is admittedly a very n00b question on Microsoft Server, so please assume basic knowledge and be kind :). I do, however, feel I have a good knowledge of Linux networking concepts, but I am ...
Micheal J. Roberts's user avatar
1 vote
1 answer
935 views

Microsoft Endpoint Manager Firewall rule not working

I am trying to use Microsoft Endpoint Manager to block all traffic to Microsoft Edge for a group. I have done the following: Created a group called Students and added user "Zephyr Prospect" ...
jimboweb's user avatar
  • 129
-1 votes
1 answer
335 views

Ports 80 and 88 still open after closing them on windows server 2019

I have closed ports 80 and 88 on Widows Server 2019 using the firewall (inbound rule), but the ports are still listening. Why those ports are still open and listening after I closed them with firewall?...
jos11's user avatar
  • 99
0 votes
1 answer
844 views

Query User rule blocking packet despite Windows Firewall Exemption

I have created a Windows Firewall exemption via an Inbound Rule allowing UDP traffic through local port 51820 from any remote port. I have validated via the Windows Event Viewer that my simple PING ...
Harry Stuart's user avatar
-1 votes
1 answer
671 views

Can't block outbound traffic on port 80 using Windows 10 firewall

I'm trying to block port 80 using Windows 10's firewall however it seems like no matter what I try I can still access HTTP sites. I've been testing weather the port using the following powershell ...
Jambo's user avatar
  • 1
0 votes
1 answer
420 views

UDP Packets Lost (Ubuntu 18.04 into Windows 10)

I am trying to send UDP packets from Linux machine (Ubuntu 18.04 ) to a windows 10 machine. But the packets are not received at the Windows machine. I have already send UDP packets from Windows 10 to ...
sandc's user avatar
  • 1
0 votes
0 answers
534 views

Windows firewall ipv6 loopback issue

I received it on my windows firewall log: DROP TCP ::1 ::1 53264 47001 I tried to add ipv6 ::1 or any other ipv6 loopback address to the firewall rule but received only the message below: An ...
Andro Leo's user avatar
0 votes
0 answers
586 views

Which application path to use for Windows IIS in Advanced Firewall Rules?

I'd like to unblock my IIS ASP.NET 4.5 webservice for public access. In Windows 10 Advanced Firewall Rules I added an inbound rule to accept all incoming requests for my webservice's port (e.g. 8001). ...
AxD's user avatar
  • 101
1 vote
0 answers
148 views

How to block those requests?

One of my website seems to be being under attack. I am getting requests, as shown below, from several IPs addresses. Is there a way to block them?
Corobori's user avatar
  • 123
-1 votes
1 answer
391 views

Lost RDP session on gcp VM(windows server 2016) afer changing firewall settings

I lost my RDP session after setting up some firewall settings on my GCP windows VM and now that is unreachable via IP or RDP or URL. I tried pinging that IP but request timed out. Can someone please ...
Jamil Aslam's user avatar
-1 votes
2 answers
294 views

Allowing only one server to access SQL via Windows firewall not working

I'm trying to configure my Win server firewall to only allow connections to SQL from our app server. I've even changed the port to a non-deafult. It works fine so that the app server can access it, ...
Cameron Castillo's user avatar
0 votes
2 answers
3k views

Windows Firewall , rules that override other rules

I'm trying to figure out how I can create a rule that will override when conditions met an existing rule. IE: I create a rule that blocks port 80 & 443 then I'd like to create a rule that opens ...
UserSN's user avatar
  • 159
-1 votes
1 answer
140 views

How to run Windows Ikev2 with NonetworkFirewall?

I have a small problem.I setup Firewall App Blocker in whtielist Mode(means basically It cut all Internet except allowed apps by setting "block all connection that not match firewall rule" ...
Fros Vonex's user avatar
0 votes
1 answer
2k views

nftables - redirect port internally

i'm moving from windows to debian 10, and on windows i'm using portproxy to re-route a port netsh interface portproxy add v4tov4 listenport=9800 listenaddress=127.0.0.1 connectport=9078 ...
Quade's user avatar
  • 111
0 votes
1 answer
590 views

Send remote commands with Powershell - Can't find the right port to open

I'm trying to setup my domain computers to be able to receive PS commands from the DC. I'm beginning with a very simple command (Restart-Computer) to test things, however the Windows Firewall insists ...
Bekoj's user avatar
  • 13
1 vote
0 answers
178 views

Unable to change description for the `RemoteDesktop-UserMode-In-TCP` firewall rule via powershell

I'm trying to change RDP port for my Windows Server 2019 Core. I've edited the registry successfully and was able to update the port in firewall rules so that everything works: PS C:\Windows\system32&...
yeputons's user avatar
  • 111
0 votes
0 answers
495 views

Domain admin profile stuck on login to server

Thank you in advance for reading this, I appreciate it. I recently built a new AD for the company I work for. Everything was going good. All of a sudden my profile is getting stuck on welcome screen. ...
Ara Touniyans's user avatar
0 votes
1 answer
1k views

WinRM throws Error Code 2, "Unable to check the status of the Firewall" despite EVERYTHING

I am trying to set up a source initiated event Subscription from a Windows 2019 server to a Windows 10 Client. I know that might sound backwards but I don't really have a choice for a variety of ...
Mikeyisroc's user avatar
0 votes
0 answers
53 views

Appending to firewall rules remotely

I have one server (Windows Server 2019) that is hosted remotely. I block RDP, SQL and FTP access via IP address whitelisting. The problem is my home IP address constantly changes. My hosting provider ...
gdx's user avatar
  • 160
1 vote
0 answers
228 views

Allow domain user to turn off Windows Defender Firewall

I need to grant all Windows Domain Users (so without elevated privileges) the ability to turn on or off the Windows Defender Firewall and to create exceptions as well. As far as I remember, I achieved ...
Mark's user avatar
  • 111
1 vote
1 answer
187 views

How do you configure Windows firewall for selective web browsing?

I'm configuring administrative hosts in a management subnet. I've installed Chromium to enable our technology staff to be able to browse to our internal web management interfaces for administrative ...
Vaito's user avatar
  • 21
2 votes
1 answer
2k views

I've been locked out of EC2 RDP connection to my Windows 2019 Server instance after resetting firewall rules

I've been using a Windows_Server-2019-English-Full-Base-2020.12.09 EC2 instance in N.Virginia for a while and accidently got my firewall rules reset and it seems RDP port is closed and not accepting ...
Charith Jayasanka's user avatar
0 votes
1 answer
1k views

Windows Server 2016 spontaneously not accepting connections

I have a production server that was working nominally until 4pm yesterday, 12/16/2020. After that time it started to reject incoming TCP connections, and connections trying to connect through ...
equallyhero's user avatar
0 votes
2 answers
927 views

Unable to access ports on Azure VM

I created a Windows VM on Azure, I was able to access it via RDP. I hosted a site on IIS and linked it to a port(8010), accessed it through localhost:8010. Then I made an Inbound filter rule on the ...
adel sameer's user avatar
0 votes
1 answer
1k views

MMC > Certificates > Other computers: Which firewall ports used for this?

I am having a windows firewall issue when trying to access the Certificate Store from another computer on the same domain using MMC or PowerShell. I am logged in as a domain admin. Both servers are ...
Tony's user avatar
  • 101
0 votes
1 answer
1k views

Windows 10 Firewall Blocking Incoming VPN Traffic

Client accesses Windows Server file share and is successful.. [Local IP] 192.168.1.62 [VPN IP] 192.168.15.101 ---> [Server IP] 192.168.15.10 Success Server ...
Henry's user avatar
  • 11
1 vote
0 answers
48 views

Is there a text-based Windows Firewall Configuration?

In Linux, you can use iptables to store/load your iptables based firewall configuration, but in Windows it appears to me that it's all GUI based, which means you can't store / track the changes you've ...
leeand00's user avatar
  • 4,919

1
2 3 4 5
10