Skip to content
Software & ApplicationsIntermediate

What Is a Firewall? Hardware vs Software, Settings and Setup

Quick Answer A firewall controls network traffic according to security rules. It permits approved connections and blocks unwanted connections between network...

BI
Bison Technical Team Enterprise IT specialists
Updated 26 Oct 2026 8 min read 2 total views
Structured technical guidanceSafety notes included where requiredSources listed below

Quick Answer

A firewall controls network traffic according to security rules. It permits approved connections and blocks unwanted connections between networks or between a device and the network. A hardware firewall usually protects traffic passing through a dedicated network appliance, while a host-based software firewall protects the computer on which it runs.

These protections complement each other. A network firewall controls access between network segments, while a computer’s firewall can restrict connections reaching that computer, including from nearby devices. Configuration involves deciding which connections are necessary and allowing only the appropriate sources, destinations, applications, and services.

Advertisement

Hardware Firewall vs Software Firewall

Comparison Hardware firewall Host-based software firewall
Deployment A dedicated appliance placed between networks. Software running on an individual computer or server.
Protection scope Traffic that passes through the appliance. Traffic entering or leaving its host.
Typical controls Network addresses, services, security zones, and application inspection where supported. Applications, services, addresses, protocols, and ports supported by the operating system.
Important limitation Cannot filter traffic that bypasses it, such as some communication within the same local network. Must be configured and maintained on each protected host, potentially through central management.
Example A FortiGate or Cisco Secure Firewall appliance. Windows Firewall.

The terminology is simplified: hardware appliances also run software. A software firewall can additionally run as a virtual network appliance, protecting multiple systems rather than only its own host.

Benefits and Features

The main benefit is controlled access: a service can be available to the people or devices that need it without being available to everyone.

  • Connection filtering: Permit or deny traffic using addresses, protocols, ports, or applications.
  • Stateful inspection: Track connections so that legitimate response traffic can be distinguished from unsolicited traffic.
  • Segmentation: Restrict communication between groups such as employees, guests, and servers.
  • Logging: Record connection decisions and administrative activity to support investigation.

Many next-generation firewalls (NGFWs) offer additional application controls, intrusion prevention, malware inspection, website filtering, VPN connectivity, and centralized reporting. These capabilities depend on the product, software release, configuration, and subscription. They are not automatically included or enabled on every firewall.

A firewall does not replace software updates, endpoint protection, secure authentication, or backups. Permitted traffic can still carry threats.

What Are the Default Firewall Settings?

There is no universal default configuration. Distinguish the manufacturer’s initial settings from the effective settings currently applied by an administrator, installer, or management policy.

Windows Firewall Defaults

Setting Default behavior Practical meaning
Firewall protection Enabled by default. Keep protection enabled for applicable network profiles.
Inbound traffic Unsolicited incoming traffic is blocked unless an applicable rule allows it. Hosting a service may require a specific inbound exception.
Outbound traffic Allowed unless an applicable rule blocks it. Ordinary browsing generally does not require manually opening an inbound port.
Network profiles Domain, Private, and Public profiles determine applicable rules. Use rules appropriate to the network’s trust level.
Unidentified networks Use the Public profile by default. Do not mark an unfamiliar network Private merely to make an application work.

Responses to permitted outbound connections are not equivalent to unsolicited inbound connections. Microsoft recommends keeping Windows Firewall enabled.

Hardware Firewall Defaults

Check the exact model’s setup guide for its management address, initial credentials or enrollment process, interface assignments, DHCP behavior, and starting rules. A setup wizard may create policies that differ from the untouched factory configuration.

Do not assume that internet access, threat inspection, remote management restrictions, or logging are configured correctly simply because the appliance starts successfully. Inspect the resulting configuration before deployment.

Which Settings Must Be Entered Manually?

The following is a planning checklist. Some values can be learned automatically or supplied by central management; others must come from your internet provider or network design.

Setting What to provide or verify
Administrator access Unique administrator credentials, permitted management devices, and multifactor authentication where supported.
WAN connection The internet-facing interface and the provider’s connection method: DHCP, static addressing, or another supported method such as PPPoE.
Static WAN addressing The assigned IP address, subnet mask or prefix length, and gateway. Do not invent these values.
LAN addressing The firewall’s internal address and subnet, avoiding overlap with other local or VPN networks.
DHCP service If this firewall assigns client addresses, configure the address pool, gateway, DNS options, and exclusions.
DNS and time Approved name-resolution and time-server settings, whether learned automatically or configured explicitly.
Routing A default route and any required routes to other networks. Confirm whether they are learned automatically.
Security rules Source, destination, direction or zones, service or application, action, and logging requirements.
NAT Address-translation rules when required by the network design. NAT and permission to pass traffic are separate considerations.
Optional services VPN configuration, security subscriptions, inspection profiles, alerts, and centralized logging as required.

For a concrete vendor example, Fortinet documents WAN interfaces and default routes in its FortiOS basic settings guide. Follow documentation matching your installed release.

How to Configure a Hardware Firewall

This is a deployment checklist, not a universal sequence of vendor menu commands.

Warning: Changing interface addresses, routing, or access rules can disconnect users and lock out administrators. Back up the current configuration, record the existing cabling and addressing, and arrange local or console access before changing a production firewall.
  1. Define the required connections. List which users and devices need access to which services. Identify employee, guest, server, and management networks.
  2. Prepare the appliance. Follow its initial setup guide from a trusted management connection. Secure administrator access and follow the vendor’s supported firmware update procedure.
  3. Configure connectivity. Apply the verified WAN, LAN, DNS, DHCP, and routing settings. Check basic connectivity before adding optional inspection features.
  4. Restrict management access. Limit administration to approved management sources. Avoid exposing the administrative interface directly to the internet.
  5. Create the required policies. Permit justified connections and deny unauthorized traffic. Review any broad rules created by the setup wizard. Apply controls to IPv6 as well as IPv4 where used.
  6. Enable appropriate inspection and monitoring. Configure licensed security services, useful logs, accurate timestamps, and alerts. Test changes before applying them broadly.
  7. Verify and save. Test required access and prohibited access, then save a protected copy of the working configuration.

A restrictive outbound policy requires planning: identify application dependencies before enforcing it across a business network. Review rules whenever services are introduced, changed, or retired.

How to Configure Windows Firewall

Check Protection First

  1. Open Windows Security.
  2. Select Firewall & network protection.
  3. Identify the active network profile and confirm that Microsoft Defender Firewall is on.
  4. For a blocked application, investigate a suitable exception instead of turning off the firewall.

Organization policies may prevent local changes. The option to block all incoming connections, including allowed applications, is stricter than normal inbound filtering and can interrupt services.

Create a Restricted Inbound Rule

Requirements: Local administrator rights, the application’s verified executable path, its required protocol and listening port, and the addresses of approved clients. Record the existing settings before making changes.

  1. From Firewall & network protection, select Advanced settings.
  2. Select Inbound Rules, then New Rule.
  3. Select Custom so that application, protocol, port, and address restrictions are available.
  4. Select the required program or service.
  5. Choose the documented protocol and local listening port. Do not substitute the client’s temporary source port.
  6. On Scope, restrict remote addresses to the approved clients or subnet.
  7. Select Allow the connection and only the necessary network profiles.
  8. Give the rule a descriptive name and record its purpose.

For an inbound service rule, the local port belongs to the receiving computer. Combining program and port restrictions prevents unrelated programs from using the same exception.

Windows Firewall does not use a manually ordered, first-match rule list. Explicit block rules generally override conflicting allow rules. Centrally managed policies can also prevent local rules from taking effect, so repeatedly adding allow rules may not resolve a conflict. 

Verification, Troubleshooting, and Rollback

  • Test allowed access: Connect from an approved client using the actual application.
  • Test denied access: Confirm that an unauthorized source cannot reach the protected service.
  • Check the destination: Verify that the application is running and listening on the expected address and port.
  • Check the path: Review routing, address translation, network firewall rules, and the destination’s host firewall.
  • Inspect evidence: Compare timestamps, addresses, ports, and matched rules in available logs. A failed ping alone does not prove that an application port is blocked.
  • Undo narrowly: Disable a newly added rule or restore the specific settings changed. Use the vendor’s documented recovery process if management access is lost.

Do not use a factory reset as the first troubleshooting step. It can remove the configuration required to restore connectivity. Windows Firewall’s restore-defaults option can also disrupt custom exceptions, and organizational policies may be reapplied afterward.

Firewall Hardware Companies and Example Models

The following are examples listed in official vendor documentation checked on 26 October 2026. They are not a popularity ranking or a recommendation that every model suits every network.

Company Product family Example models
Fortinet FortiGate 70G, 90G, 120G.
Sophos XGS Series XGS 88, XGS 108, XGS 118.
Palo Alto Networks PA-400 Series PA-440, PA-450, PA-460. 
Cisco Secure Firewall 1200 Series 1210CE, 1210CP, 1220CX.
SonicWall TZ Series, Generation 8 TZ280, TZ380, TZ480.

How to Compare Models

Compare performance with the security functions you intend to enable. Vendors publish separate measurements for basic firewall traffic, threat inspection, VPN traffic, and encrypted-traffic inspection; these figures are not interchangeable. Also check interface speeds, connection capacity, supported software, support lifecycle, management requirements, and renewal costs.

Confirm exactly what happens when a subscription expires. For example, SonicWall documents hardware-only operation for the listed Gen 8 TZ models, while its TZ80 requires an active subscription to function. Subscription behavior should never be assumed across an entire brand. 

Sources

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

Links are permitted only to published BISONKB articles.
THE BISON BRIEF

Practical IT knowledge, once a week.

New troubleshooting guides, scripts and infrastructure notes. No noise.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.