Under attack? Call 1-800-716-8955, 24/7 Serving Calgary, Edmonton and communities across Alberta
Security how-to ยท 6 min read

Reviewing your firewall rules

Firewall rules pile up over the years as vendors, projects and staff come and go. This guide explains how to review them, what to remove and how to keep the firewall itself up to date and protected.

Reviewing your firewall rules

Why rules drift

A firewall decides what traffic can enter and leave your network. When it is first installed, the rules are usually tidy. Over time, exceptions get added: a port opened so a vendor can support the phone system, a rule allowing remote desktop for a project, a forwarding rule for a camera system. Few of those exceptions are ever removed, and nobody remembers why some of them exist.

Every open inbound rule is a door that someone on the internet can try. Attackers scan the entire internet continuously for exposed services and known vulnerabilities. A yearly firewall review closes doors that are no longer needed and confirms the ones that remain are justified.

Gather what you need

Before the review, export the current rule list and the firewall configuration. Collect the documentation you have about why rules were created. Ask the people who might know: your IT provider, vendors with remote access and staff who manage specialized systems. You will rarely have a reason recorded for every rule, which is part of what the review fixes.

Also check the firewall itself. Note its model, firmware version and whether the vendor still supports it. Firewalls and VPN appliances have been a frequent target of serious vulnerabilities, and an unsupported device cannot be fixed when the next one appears.

It also helps to have a current network diagram, even a simple hand-drawn one. Knowing which servers, cameras, phones and printers sit behind the firewall makes it much easier to judge whether a rule pointing to a particular internal address still makes sense.

What to look for

Go through each rule and ask what it allows, who needs it and whether it is still in use. Many firewalls show hit counts, which tell you whether traffic has matched a rule recently. A rule with no hits in months is a strong candidate for removal. Pay special attention to anything that allows traffic in from the internet.

Outbound rules matter too, although they are often left wide open. Restricting outbound traffic to what the business needs makes it harder for malware to call home and for data to be quietly sent out.

  • Inbound rules that allow any source
  • Remote desktop or file sharing open to the internet
  • Rules for vendors or projects that have ended
  • Rules with no hits in the last several months
  • Any rule nobody can explain

Remove carefully

Removing a rule that something quietly depends on can break a system. A safe approach is to disable rather than delete, note the date, and wait a few weeks. If nothing breaks, delete it. Schedule changes outside busy periods and make sure someone can reverse them quickly. Always take a configuration backup before you start.

For each rule that stays, write a short note in the rule description: what it is for, who requested it and when it should be reviewed again. Restrict source addresses wherever possible, so a vendor rule only allows the vendor's own addresses rather than the whole internet.

Protect the firewall itself

The firewall's management interface should never be reachable from the internet. Administrators should sign in from the internal network or through a secured VPN, with unique accounts and multi-factor authentication where the device supports it. Shared admin passwords make it impossible to know who changed what.

Keep firmware current and subscribe to the vendor's security advisories. Turn on logging and send logs somewhere they are kept and reviewed. If the firewall includes security subscriptions for intrusion prevention or web filtering, confirm they are still active, since lapsed subscriptions are common and silently reduce protection.

Schedule the next review before you finish this one. Put it in the calendar for the same month each year, and add a lighter check whenever you replace a major system, change internet providers or end a relationship with a vendor.

Key takeaways
  • Review every inbound rule at least yearly and remove what is not needed.
  • Disable first, wait, then delete, and document every rule that stays.
  • Keep the firewall supported, patched and managed only from inside.

All your tech problems. One phone call.