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
0 votes
0 answers
23 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 - ...
user avatar
0 votes
0 answers
13 views

Windows Cloud PC Cannot change Windows Defender Firewall default behaviour for outbound connections

I'm trying to set the properties of Windows Firewall to Block outbound connections via Windows Defender Firewall with Advanced Security. This machine is a Windows Cloud PC that is provisioned with ...
user avatar
  • 1
0 votes
1 answer
49 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 ...
user avatar
  • 113
0 votes
0 answers
181 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar
  • 1
0 votes
1 answer
66 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 ...
user avatar
  • 77
0 votes
1 answer
75 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 ...
user avatar
0 votes
1 answer
72 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.
user avatar
0 votes
1 answer
86 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 ...
user avatar
1 vote
1 answer
45 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 ...
user avatar
  • 11
0 votes
1 answer
493 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 ...
user avatar
0 votes
0 answers
30 views

Why is Zoom sending and receiving packets to an external address after being turned off?

I used LiveTcpUdpWatch to look at my outgoing packets and was surprised to see that Zoom is still active after being shut down. I am using Microsoft Defender Firewall with default settings (Windows 10)...
user avatar
0 votes
0 answers
19 views

No response received on wireshark when crafted dns request sent to 8.8.8.8

I have created a program that sends crafted dns request packets on 8.8.8.8 but I dont receive any response back from 8.8.8.8 on my host windows machine. When I run the same program on linux vm or a ...
user avatar
  • 1
0 votes
1 answer
280 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. ...
user avatar
0 votes
0 answers
22 views

Different Firewall Rules For Different IP Addresses on Windows Server 2022

I want to have have ports 80 and 443 open on 1.1.1.1 but only have ports 5000-6000 open on 2.2.2.2 How can I configure Windows Firewall to fit these rules?
user avatar
  • 13
0 votes
1 answer
30 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 ...
user avatar
  • 595
0 votes
0 answers
35 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:...
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 ...
user avatar
0 votes
0 answers
15 views

How to convert network type to private with VPN program in Windows?

When I use iTop VPN program it works, i.e. my apparent public IP address changes. But I see no effect on Network and Sharing center in Windows. In particular, I'd like the network type be changed from ...
user avatar
  • 121
0 votes
0 answers
190 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 ...
user avatar
2 votes
1 answer
758 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 ...
user avatar
  • 269
1 vote
0 answers
22 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 2,499
1 vote
2 answers
321 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") ...
user avatar
2 votes
1 answer
247 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 ...
user avatar
1 vote
1 answer
188 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 ...
user avatar
1 vote
1 answer
244 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 ...
user avatar
0 votes
1 answer
528 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 ...
user avatar
  • 1
0 votes
2 answers
7k 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 ...
user avatar
  • 1,073
0 votes
0 answers
228 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 ...
user avatar
  • 549
2 votes
3 answers
3k views

Configuring Windows to only allow traffic through VPN

I would like to configure Windows 10 to only allow traffic through a VPN connection. For example, Firefox won't have internet access if the VPN is not connected. I want to be able to turn this ...
user avatar
  • 23
0 votes
0 answers
29 views

Checking all connections on Windows 7

I want to check all outbound/inbound connections when my pc is (apparently) idle and possibly permit/deny selectively each of them as soon as they occur. Unfortunately it seems not possible on Windows ...
user avatar
  • 130
0 votes
1 answer
276 views

How to find out which Windows Firewall rule Scope an Ip Address Exists In

I wrote my own IPS/IDS. For each ip address it blocks, it puts it in a Windows firewall rule that references the country code. So, I have ~300k ip addresses across ~185 firewall rule scopes and ended ...
user avatar
  • 121
0 votes
0 answers
86 views

Wireless hotspot with firewall settings

In a smaller company where I work I would like to create WIFI network that would exclude access to our local network (network printer, network drives etc.) I have one older laptop with Windows 10 that ...
user avatar
  • 109
0 votes
1 answer
646 views

netsh advfirewall can not set group profile

Windows Server 2008 R2 Standard, 64 bit. Powershell version 5.1.144049. Trying to use a command from this Microsoft Support Page -> Example 8: Enable specific services netsh advfirewall firewall ...
user avatar
0 votes
1 answer
8k views

Which IP should I allow in Firewall for AnyDesk?

At my computer I block in Windows Firewall all IP addresses (as described by the link https://superuser.com/a/268909) except those I added as allowed to a Firewall rule. The page https://support....
user avatar
  • 177
0 votes
1 answer
79 views

Local Machine Blocked via Windows Firewall Still Has Access to Share

I have a Windows 10 machine on a LAN (the "Server"). This machine has a share that anyone on the LAN can access. I want to prevent one specific machine on the LAN from accessing this share....
user avatar
  • 299
0 votes
1 answer
183 views

Why the firewall rules don't work?

I made a firewall rule that blocks access to a site after 3 failed connection attempts, but I still have access to the site on the virtual machine, even if I type the wrong password 3x: New-...
user avatar
  • 1
0 votes
2 answers
581 views

OPENVPN server windows 10 NAT and firewall setup

I have problem with ping and File and Printer Sharing.The only way is disable firewall in the server. This is my configuration of the openvpn server: port 1194 proto udp dev tun dev-node VPNserver ...
user avatar
2 votes
1 answer
544 views

Windows command line - disable all outgoing traffic

I want to be able to disable all outgoing traffic but not incoming traffic - something like netsh interface set interface "Ethernet" disable but only for outgoing traffic. How do I do that ...
user avatar
0 votes
1 answer
105 views

Why isn't Windows Firewall Defender working on my Internet Explorer?

I tried blocking my Internet Explorer's INBOUND and OUTBOUND connection with Windows Firewall Defender: Image of firewall placed on Internet Explorer However I still can use Internet Explorer even ...
user avatar
0 votes
0 answers
75 views

Block Internet access Win10 VM

I have a Windows 10 Hyper-V VM and need to block all Internet access, but only leave access so I can connect via RDP. Right now, I just went into Internet Options and set the Proxy to the loopback IP. ...
user avatar
  • 427
0 votes
2 answers
2k views

Windows firewall suddenly blocking SMTP connection over VPN

For years, everything has been just fine. I have an always on VPN and have had no problems. Them a few days ago, there was a Windows update. Since then, attempts to send email meet with SMTP ...
user avatar
1 vote
1 answer
216 views

Windows AdvFirewall Subnet/Port/Program Conflicting Rules

I've googled around, but don't see any answer or any similar questions here. There is some content about how the Windows Advanced Firewall matches rules, but what I don't understand is, what happens ...
user avatar
  • 45
0 votes
1 answer
48 views

Windows 7 Firewall: allow everything but block one exe from accessing anything

I would like to configure the Windows 7 firewall with advanced security in a way that nothing is blocked, except for one program that I want to define. So basically, the behaviour would be as if the ...
user avatar
  • 1,249
0 votes
0 answers
108 views

Windows 10: How to configure firewall to use VPN only for some domains? [duplicate]

On my company laptop, I can activate the VPN connexion, but it's slow, and it will redirect all my traffic, including the web browser. I'd like to be able to use the VPN only to SSH into the company'...
user avatar
  • 113
0 votes
0 answers
342 views

Windows firewall outgoing rule exception not working

I set custom outbound firewall rule on Windows Server 2019 which deny all outgoing traffic to 192.168.2.0/24. The rule is working for all until I set an exception in "Local principal/Exceptions". When ...
user avatar
  • 101
0 votes
1 answer
109 views

Allow remote computer access to SQL Server via SQL Server Management Studio

I have both SQL Server and Windows on version 2016. I am trying to set the firewall to allow SQL Server Management Studio to connect from my PC to it. I have created an entry for port 1433 TCP local ...
user avatar
  • 427
0 votes
0 answers
139 views

Block outbound on 80,443 except Windows Updates on Windows Server 2019

I can't believe I didn't find a proper solution for this problem, which I assume to be quite common: We have some Windows Server 2019 machines in the network, which are SQL-Server, frequented by ...
user avatar
  • 13
1 vote
1 answer
606 views

Blocking remote internet traffic but allow local computer traffic (localhost) using Windows Firewall

Is it possible for me to block traffic to and from sources and destinations outside my local computer using Windows Firewall for certain programs? As I understand, I may have to use subnets/subnet ...
user avatar

1
2 3 4 5
9