As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [windows-firewall]

Windows Firewall is a basic port filter built into Microsoft Windows, starting with Windows XP SP2.

Filter by
Sorted by
Tagged with
3 votes
2 answers
309 views

Can I safely disable a firewall rule added by Visual Studio Code?

I am starting web development on Visual Studio Code, and I'm using Live Server to test the resulting pages on my browser. I want also to test using my mobile phone connected on the same private ...
Rony's user avatar
  • 31
0 votes
0 answers
10 views

Configure Windows Firewall to block IPs listed in Spamhaus.org [migrated]

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
1 vote
0 answers
33 views

Set Windows Firwall to block all outbound but allow DHCP and web use

I am trying to set Windows firewall to block default public profile, but am having difficulty when outbound activity is set to block by default, despite including allow rules for DHCP and DNS. Failure ...
Sbolt_'s user avatar
  • 11
0 votes
0 answers
21 views

Java - Connection exception connection timed out

I'm doing a project using Java Sockets to communicate from nodes to other. Our simulation is configured this way, one machine instantiates multiple nodes of a distributed system and the other machine ...
Gabriele Passoni's user avatar
-1 votes
1 answer
57 views

Modifying Windows Firewall to send ICMP unreachable

Can I modify my windows Firewall to send ICMP unreachable rather than drop packets? or this is something that is not available in MS windows.
Batman's user avatar
  • 1
0 votes
1 answer
113 views

How to determine cause of connection attempts from a specific Windows service?

On a locked-down Windows 7 test box on a completely isolated test network, I could account for every incoming and outgoing attempted network connection. Then I temporarily installed the PortableApps....
RockPaperLz- Mask it or Casket's user avatar
0 votes
1 answer
47 views

Windows Firewall Inbound Rule adding scope failure

I have a Microsoft Azure web app with outbound IP addresses: I added these to my Windows Firewall inbound rule: But adding these IP addresses causes everything to fail. Has anyone seen this behavior?...
crgolden's user avatar
  • 111
0 votes
0 answers
43 views

How to whitelist WpnUserService through firewall if it keeps changing it's service name

I am using WFC Firewall, which is a wrapper on the native Windows Firewall. Every time I restart my PC, WpnUserService changes its name. Basically, the 6-digit alpha-numeric suffix on the service name ...
CodePanda's user avatar
  • 133
0 votes
1 answer
95 views

I can't open 443 port

I'm trying to make public an https server with valid SSL. I can access my sites locally from the server's browser. So, it's ok. The page get loaded and SSL appear to be valid. But when I access from ...
Pedro L's user avatar
0 votes
0 answers
118 views

What rule must I add for svchost.exe in the Windows firewall to get internet access inside a hyper-v VM?

Windows firewall is set to block everything by default on the host OS. Internet inside a hyper-v VM is not working with the default switch. I'm not even getting an IP. If I add a rule for svchost.exe ...
user1969903's user avatar
1 vote
1 answer
1k views

How to force "Private network" in an Unidentified network on Windows 10

I have a workstation with 2 network adapters, one is connected to a domain network, the other one is connected to a device, you can think of this device like a raspberry pi, via an integrated network ...
polloman15's user avatar
2 votes
0 answers
31 views

Is there a boolean "NOT" operator in Windows Firewall Rules? [closed]

Quick question for setting up Windows Defender Firewall rules: Is there a boolean NOT operator that can be used with IP addresses? What I would like to do is create an outbound firewall rule to ...
StudentDeveloper7's user avatar
0 votes
0 answers
17 views

Unchecking app on the protected network connections (under firewall advanced settings - windows defender properties) disabling firewall

So I'm trying to get Hamachi app to connect two PCs via RDP and the only way to do this without disabling firewall was by unchecking the app under protected network connections, but by doing so, I'm ...
Lacey's user avatar
  • 1
0 votes
1 answer
39 views

IP addresses doesn't work as scope in custom rule [closed]

i changed remote port in registry on win server 2012. i want specific specific IPs can be used to remote by this port. For this reason,I create a rule in firewall and allow this port and in scope tab ...
user1748049's user avatar
1 vote
0 answers
153 views

Windows Defender Firewal Incoming Rules issue with definition of Protocol + Port only

i faced today an issue, which makes to me no sense and i would like to ask if you know this issue or if something is going wrong on my setup. I have a Windows Server 2019 and installed an IIS Role on ...
lamaGra's user avatar
  • 11
1 vote
1 answer
226 views

SSH proxy tunnel not accessing blocked sites on Windows 10 and 11 due to DNS leak?

I have a problem with an SSH proxy. On my Mac, I used the command ssh -D 8080 root@my.server.ip to login to my server, and I set the Mac SOCKS proxy settings to use 127.0.0.1:8080, and it was working ...
RaymondY's user avatar
-3 votes
1 answer
75 views

block request from/to google.com to/from my server

I have a Windows server 2008 and I have launched a website on it. when my website open in Chrome browser by anyone , Chrome In addition to opening the website, it also sends my website information to ...
ana's user avatar
  • 5
0 votes
1 answer
312 views

How to block everything on Windows 10's firewall and slowly allow the things that I only need?

I've had just about enough with all the spying and resource usage behind my back on my Windows machine, so I've decided to consider the plausibility of first blocking all network traffic and then ...
asgasehswheeshss's user avatar
3 votes
0 answers
804 views

How to access to a SQL Server Instance from a WSL2 Debian System?

I would like to connect from my WSL 2 Debian System to a SQL Server instance. This is because I want to develop an cossplatform app in Python and make some tests. WSL 1 As far as I know with WSL 1 I ...
ChesuCR's user avatar
  • 181
0 votes
1 answer
550 views

Windows Defender Firewall Blocking Ping

My workstations use Windows Defender Firewall managed by local group policy. Every time I try to ping from this one workstation I receive "General Failure". When I turn the firewall off I ...
Eric Hanlon's user avatar
0 votes
0 answers
87 views

AT&T VPN blocks incomming tcp connections

I got this VPN client from AT&T that I need to connect to some network. VPN itself still works fine, but it blocks all incoming TCP connections from my local network. It look like it uses the ...
PiTheNumber's user avatar
0 votes
0 answers
797 views

Show Windows Firewall rules for an application in cli

Say, in Windows Firewall GUI I have this - four rules for nc.exe (netcat), two for private networks (one TCP, one UDP), and two for public networks (one TCP, one UDP): How can I dump these four rules,...
sdbbs's user avatar
  • 1,058
0 votes
1 answer
398 views

WIndows 10 - How to Enable Windows Defender Firewall with Forticlient installed

I have a remote job for which I occasionally have to use a VPN to connect to the corporate network. My company uses FortiClient for this, and despite Fortinet's best efforts, I've managed to break ...
DefinitelyAHuman's user avatar
0 votes
1 answer
244 views

How to disable internet connectivity for a particular app/software?

I want to disable the internet connectivity of 'Steam' as my younger brother keeps on downloading video games from the Steam client on my computer. I cannot downright uninstall it as well since his ...
Dhruv Singhania's user avatar
1 vote
1 answer
299 views

Windows firewall - stop all programs from accessing the internet with exceptions, ideally in powershell

I'd like to use Windows Firewall outgoing rules to block all programs from accessing the internet except the following: c:\zx\CertifyTheWeb - an app which refreshes IIS certificates World Wide Web - ...
user2728841's user avatar
0 votes
1 answer
2k views

How to whitelist IPs for Windows Firewall with PowerShell?

Is doing New-NetFirewallRule for each IP address I want to Allow my only option with Windows Firewall and PowerShell? The docs say that -RemoteAddress can only be a single IP address, an address ...
uncaged's user avatar
  • 143
5 votes
2 answers
14k views

WSL2 connect to host without disabling the windows firewall

I simply want to connect from my WSL2 Ubuntu installation to my host windows on port 8529. What I tried: Disabled my public firewall. This works but is no option. I added bash, wsl, and the ubuntu ...
Richard Burkhardt's user avatar
0 votes
0 answers
434 views

Windows Firewall blocking SMB after a period of time

I have an issue with a restricted terminal machine running Windows 10 that I hope someone can shed some light on. This is on the domain and is restricted in Windows Firewall to only allow Google ...
Steve's user avatar
  • 1
-2 votes
2 answers
193 views

Windows Firewall seems useless out of the box - How to properly configure?

I am running a fresh new Windows 11 installation. To my understanding, to make it secure you would need the firewall, by default, to block external connections and to prevent malware from reaching ...
sigmaxf's user avatar
  • 1,567
0 votes
1 answer
352 views

How can Windows Firewall be used to further increase security in Windows 10, would it be by blocking particular ports?

How can Windows Firewall be used beyond it being turned on, to increase security of a Windows 10 Home PC, would it be best to use the firewall to block these ports? I would like it to be as secure as ...
Eric's user avatar
  • 87
0 votes
1 answer
541 views

What is the best way to block incoming traffic from certain websites regardless of which port on Windows 10?

When I open my web browser and navigate to www.cnn.com , it will download all the text + graphics into my local machine for the web browser to interpret / view. How could I tell windows to block all ...
user1068636's user avatar
0 votes
1 answer
472 views

How to add a Windows Firewall ports to Printer using a Config File

I need to create a config file for Windows Firewall ports to printers. But I didn't get any ideas from the internet. If anyone knows can anyone suggest me.
Hariharan A's user avatar
0 votes
1 answer
881 views

Port for forwarding DNS queries to OpenDNS

I'm trying to configure DNS forwarders in domain controllers to OpenDNS. DNS forwarders are configured but the requests are not getting redirected via OpenDNS. I've allowed TCP port 53 to openDNS IPs ...
Guest098's user avatar
1 vote
1 answer
498 views

Port Forwarding for a dedicated Server doesn't work

For some time now I have been trying to get my dedicated server for the game Insurgency: Sandstorm up and running. For this I have to specify two ports in the start script. These two ports, in this ...
Paco's user avatar
  • 11
1 vote
1 answer
2k views

Windows Defender service won't start (Access Denied)

I wanted to install XBOX app but whenever I install it I got the error looks like something went wrong 0x80073D0A I looked this code and it seems it wants Windows Defender to be on, so I went to ...
Omar Shawky's user avatar
0 votes
1 answer
8k views

Port 22 won't open even after enabling it on Windows Firewall settings

I'm currently trying to transfer file between my two local computer (laptop running Linux & PC Windows 10) by SHH using scp cmd, see here I'm trying to transfer from Linux laptop to Windows PC. ...
Jawad Bounaâs's user avatar
0 votes
1 answer
196 views

Once the permission blocked, how to track and "Allow Access" windows firewall security alert

For time to time, I get a Windows Firewall Security Alert like this: Once I click on "Cancel", I like to be able to change my mind. I like to track the block alerts like above and have ...
Allan Xu's user avatar
  • 639
0 votes
0 answers
123 views

How for force all new Wifi network connections to be PRIVATE?

I found how to do this with a router or ethernet card. With the wifi adapter, each connection is treated as a new one. I set up Windows Defender firewall to block non-VPN traffic, following this guide:...
Wilson's user avatar
  • 41
0 votes
0 answers
17 views

How to configure connection setting in window firewall For home use?

I am asking for a non-IT users If I have configured connection setting to use isolation authentication for both inbound and outbound for any protocol any IP and any port. How to configure a not ...
UnknownNotHappenedYet's user avatar
0 votes
0 answers
578 views

Unable to open port 22 for SFTP file transfer (Remote Desktop environment)

I have been given access to Remote Desktop environment where I am supposed to set up file transfer between SFTP server and Remote Desktop storage location. Everything is set up correctly (I am using ...
Marek Ševela's user avatar
2 votes
1 answer
2k views

Can't receive UDP data unless Wireshark is running

We have a computer system (Win10) that receives a variety of UDP data from a remote host at various rates (2-50Hz). The remote system is provided by our customer. While we're waiting for the customer ...
PeterT's user avatar
  • 269
1 vote
0 answers
30 views

How to restrict passwordless file sharing in Win10 to only allowed hosts

I need to keep password less sharing enabled but i would like to restrict it to just certain hosts. Is it possible to use the Windows Firewall to block all incoming share connection / protocols unless ...
user1957413's user avatar
0 votes
1 answer
8k views

Allowing a domain name instead of an IP in Windows Firewall

A client of mine retrieves records from a remote MSSQL instance using Excel about once a week, for which he is whitelisted on the Windows Server that instance is running on. Every once in a while his ...
MMM's user avatar
  • 2,611
1 vote
2 answers
615 views

netsh advfirewall command was not found

I have an advanced rule setup in Windows firewall that I want to be able to turn on and off via an AutoHotkey script. RunWaitOne(command) { shell := ComObjCreate("WScript.Shell") ...
Stegathesaurus's user avatar
2 votes
1 answer
317 views

#No rights to write in Windows %temp% directory# blocks Firefox downloads, (un)installers, pdf prints, other temp tasks

This is a follow-up on Firefox cannot save files (most of the time), how to solve?, just with a more global problem than just Firefox: I cannot install or uninstall as soon as the %temp folder is ...
questionto42's user avatar
  • 1,715
1 vote
1 answer
465 views

Cannot connect to Windows 10 Pro Remote Desktop through a router

I have an Asus RT-AC5300 router. I have a Windows 10 PC, a Windows 2016 server machine, and an Android phone. Using a remote desktop client on the phone, I can connect to both computers while on the ...
Monty Wild's user avatar
1 vote
1 answer
812 views

Can the Windows 10 firewall be configured to block a specific application from accessing the internet, but allow it to access the local intranet?

The background to my question is that there is a pane "Scope" for each outbound rule of the Windows 10 defender firewall in which settings for the local IP address and remote IP address can ...
Gahlen Feld's user avatar
0 votes
1 answer
1k views

What is the relevant "Core Networking" item in Windows Defender Firewall for DNS over TCP?

In Window 10, the Windows Defender Firewall, the relevant item for standard DNS over UDP is "Core Networking - DNS (UPD-out)" You can enable/disable specific IP addresses in this rule. Some ...
Sara's user avatar
  • 1
0 votes
2 answers
11k views

I have blocked port 80 and 443 on Windows 10 via making a new Firewall rule but I still can browse. How to I block HTTP traffic via firewall?

I have blocked port 80 and 443 on Windows 10 via making a new Firewall rule but I still can browse via Chrome. How do I block HTTP/HTTPS traffic via firewall? This is what I did: Firewall advanced ...
Coder88's user avatar
  • 1,103
0 votes
0 answers
468 views

Why are there two entries for Remote Desktop in my Windows Defender Firewall listing of allowed apps

I have just started getting an "internal error" when trying to Remote Desktop connect from my PC to a server on the LAN. It's been working fine for several years. I cannot reach our ...
Tim's user avatar
  • 635

1
2 3 4 5
10