Firewall - What it is, why you need one, and safe default settings

Firewall

What it is

A firewall is a gatekeeper for your network - it filters traffic so only approved connections get through. Firewalls can be hardware (built into routers or dedicated appliances) or software (on your computer or server). For a deeper look at setup options and use cases, see our 
firewall explainer

Why it matters

Most attacks start with a connection from the outside - or a risky app calling out. A well-tuned firewall blocks malware, scans, and suspicious traffic while letting normal work continue.

How it works

  • Rules & policies - allow known-good ports, block the rest

  • Stateful inspection - track conversations so replies are allowed, fakes are not

  • Next-gen features - app awareness, IPS, malware filtering, DNS controls

Good defaults

  • On endpoints - enable the built-in OS firewall and block inbound by default

  • On routers - close unused ports, disable remote admin from the internet

  • For services - put apps behind a reverse proxy or WAF, and limit who can reach admin panels

Quick setup wins

  1. Start with deny by default - allow only what you need.

  2. Limit RDP/SSH/VPN to specific IPs - require MFA.

  3. Turn on logging and alerts - review new blocks weekly.

  4. Pair with DNS filtering and auto-patching for layered protection.

  5. Test from the outside - use a port scan to confirm nothing extra is open.

    Glossary (A–Z)

    All A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
      • Related Articles

      • DNS Firewall

        Why it matters Most attacks start with a click or a background connection. Stopping bad domains at the DNS layer cuts off malware downloads, phishing pages, and command-and-control beacons without slowing users or changing their workflow. How it ...
      • Host-Based Firewall

        What it is A host-based firewall runs on a single device and filters that device’s network traffic - blocking suspicious inbound connections and limiting what apps can send out. It’s your last line of defense if something slips past the network edge. ...
      • Security Software

        What it is Security software is a set of apps and services that protect your devices and data from hackers, malware, and mistakes. It covers tools like antivirus/anti-malware, firewalls, VPNs, email and web filters, intrusion detection/prevention, ...
      • Internet Worm

        What it is An internet worm is self-spreading malware that copies itself across networks without you clicking or installing anything. Unlike a classic virus that needs an infected file to run, a worm exploits bugs and weak settings to move ...
      • DNS Blocking

        What it is DNS blocking is a simple filter for where devices are allowed to go on the internet. When a user tries to visit a domain on the block list, the DNS resolver refuses or sends them nowhere - so risky or unwanted sites never load. How it ...