This article explains how to find and use the Windows Defender firewall settings in Windows 10. We have separate instructions for using the Windows 11 Firewall.
How to check your firewall settings
Windows Defender Firewall offers several settings that you can configure:
When you’re ready to make changes to Windows Firewall, search for Windows Security and open it in the search bar on your taskbar. All of those firewall-related tasks are available under Firewall & Network Protection.
When you allow an app in Windows Defender Firewall, you're choosing to allow it to pass data through your computer based on whether you're connected to a private network, a public network, or both. If you select only Private for the Allow option, you'll be able to use the app or feature when you're connected to a private network, such as a network at your home or office. If you choose Public, you'll be able to open the app while you're connected to a public network, such as a network at a coffee shop or hotel. As you'll see here, you can also choose both.