Questions tagged [windows-firewall]
Windows Firewall is a basic port filter built into Microsoft Windows, starting with Windows XP SP2.
487 questions
5
votes
2
answers
959
views
In Windows 11 firewall default setting, why are there two identical rules for ICMP, and what does (restrictive) in rule names mean?
I am currently looking into the default firewall configuration after a fresh install of Windows 11 Enterprise 25H2 with all available patches applied at the time of writing. There is no other software ...
1
vote
1
answer
438
views
Program in WSL cannot resolve DNS, given mirrored networking mode and the host's firewall blocking arbitrary Outbound connections
In Windows 11 24H2 (64-bit), Windows Firewall is configured to block arbitrary Outbound Connections. That said, any program that wants to access the Internet must be specifically added to the Firewall'...
0
votes
0
answers
181
views
PowerShell Get-NetFirewallRule takes over 3 minutes on domain-joined Server Core
I'm working on a PowerShell script to query all active firewall rules on a domain-joined Windows Server 2022 Core machine.
The command I'm using is:
Get-NetFirewallRule | Where-Object {$_.Enabled -eq &...
2
votes
2
answers
1k
views
How to block all outbound connections except web browser using Windows Firewall?
goal
By default, the integrated Windows 10 Firewall allows ALL outbound connections. This seems crazy to me.
I want to block ALL outbound traffic and whitelist only those few programs which really ...
0
votes
1
answer
69
views
Windows 7 LAN access to Windows 11 stopped working - steps to get it connecting again
BACKGROUND: I added a Win 11 machine to my wired Ethernet LAN and everything worked as expected: DHCP assigned IP address, connected to the Internet and I could use VNC from Windows 7 to operate the ...
0
votes
1
answer
401
views
How to force the browser (Chrome) to refresh DNS from OS Level (Windows)? [duplicate]
I’m feeling quite desperate and would really appreciate some help. I'm currently trying to block certain domains using Windows Firewall rules.
$fqdn = 'example.com'
$id = '{' + (New-Guid).ToString() +...
3
votes
1
answer
881
views
Why won't some IP ranges work in Windows Firewall rules?
I'm trying to block all outbound traffic to most remote IPs except for 2 ranges.
Since the default behavior for outbound traffic is to allow everything, I need a block rule to block everything except ...
2
votes
1
answer
94
views
Documentation for Windows's native firewall?
On the Windows's native firewall, when using GUI to add/modify a rule, in the "Scope" tab, "Remote IP address", when can use some predefined values. For example "Local subnet&...
0
votes
0
answers
82
views
udp packets not received between peer win 10 hosts, but DO arrive if sender on same host
I am a networking newbie!
Nothing fancy here. Hosts on same subnet (192.168.1.6 and 192.168.1.26)
Using Hercules Setup to send/receive UDP messages on both hosts.
a. Running two instances of Hercules ...
0
votes
0
answers
433
views
How to access Rust server from the local network?
I am running this Rust server on Win 11 PC. The log says that it is running at 127.0.0.1:53932. If I go to http://127.0.0.1:53932/healthz on the same PC, I get Ok, which means it works OK.
Now I try ...
5
votes
1
answer
3k
views
Why did the ChatGPT desktop app add these Windows Firewall entries?
Short Version
Why do I have 4 entries for the official ChatGPT desktop app in my Windows Firewall? I tested disabling the entries and the ChatGPT app still works... If you have the ChatGPT app ...
2
votes
0
answers
388
views
How to view location access detailed information in Windows 11?
Using event viewer and resource monitor I am trying to find the exact details of what is constantly checking my location and how to stop it.
Example: Recently a dev of a web app (a PWA app he mentions)...
0
votes
1
answer
307
views
How to reload GPO Windows firewall after modification by Poweshell using e.g. New-NetFirewallRule or Set-NetFirewallRule
If you make any modification to the GPO Windows firewall rules with the Powershell module NetSecurity using e.g. command New-NetFirewallRule or Set-NetFirewallRule the changes are not applied ...
3
votes
1
answer
641
views
filtered port with windows firewall
Under Windows server 2022, I've blocked port 21 UDP/TCP (I do not use it anyway !!)
But:
nmap -SV <my_server>
still continues to give me :
PORT STATE SERVICE
21/tcp filtered ftp
why ?...
1
vote
1
answer
5k
views
Use windows 11 to forward traffic between 2 LANs
I have Windows 11 with IP addresses 192.168.72.100, 192.168.10.113, connected to two LANs:
192.168.10.1/24
192.168.72.1/24
From a host on 192.168.10.1/24, I would like to ping, and http/vnc to machine ...