11 steps to configure your firewall for maximum effectiveness

Your firewall is the first line of defence against security threats; but simply adding firewall devices to your network doesn’t ensure your network is secure. You need to regularly analyse your firewall’s syslog and configuration, and optimise its performance in order to protect your network. The heart of any firewall’s performance is its rules and policies. If not managed properly, these can leave your network vulnerable to attacks.

Gartner predicts that 99% of exploited vulnerabilities will continue to be ones known by security and IT professionals for at least one year. Gartner concludes that the best and cheapest way to mitigate cyber-attacks caused by known vulnerabilities is by removing them altogether with regular patching.

For many security admins, maintaining optimal rule performance is a daunting task.  Businesses are demanding that networks perform faster, leaving security admins balancing on the thin line separating speed and security. With these challenges in mind, here are some firewall best practices that can help security admins handle the conundrum of speed vs security.

  1. Document firewall rules and add comments to explain special rules.

It’s critical for everyone in an IT team to have visibility over all the rules that have been written.

Along with the list of rules, it’s important to record:

  • The purpose of a rule.
  • The name of the security admin who wrote the rule along with date of creation.
  • The users/services affected by the rule.
  • The devices/interfaces affected by the rule.

You can record this information as comments when creating a new rule or modifying an existing rule. The first thing you should do, if you haven’t already, is review all the existing rules, and document the above information wherever possible.

Though this might be a time-consuming task, you’ll only have to do it once, and it’ll end up saving security admins a lot of time when auditing and adding new rules in the long run.

  1. Reduce over permissive rules and include “deny all” on top.

It’s better to be safe than sorry. It’s good practice to start off writing firewall rules with a “deny all” rule. This helps protect the network from manual errors.

You’ll want to avoid using over-permissive rules like “allow any” as this can put the network at risk.

Permissive rules give users more freedom, which can translate into giving users access to more resources than they need to perform business-related functions. This leads to two types of problems:

  1. Under or overutilised network bandwidth.
  2. Increased exposure to potentially malicious sites.

Restrict over-permissive rules and avoid these issues altogether.

  1. Review firewall rules regularly and optimise firewall performance.

As years go by and new policies are defined by different security admins, the number of rules tends to pile up.

When new rules are defined without analysing the old ones, these rules become redundant and can contradict each other, causing anomalies that negatively affect your firewall’s performance.

Cleaning up unused rules on a regular basis helps avoid clogging up your firewall’s processor, so it’s important to periodically audit rules as well as remove duplicate rules, anomalies, and unwanted policies.

  1. Organise firewall rules to maximise speed.

Placing the most used rules on top and moving the lesser-used rules to the bottom helps improve the processing capacity of your firewall.

This is an activity that should be performed periodically, as different types of rules are used at different times.

  1. Penetration test to check the health of your rules.

A penetration test is a simulated cyber-attack against your computer system to check for exploitable vulnerabilities.

Just like how cars undergo crash tests to detect holes in the safety design, periodic penetration tests on your firewall will help you identify areas in your network’s security that are vulnerable.

  1. Automate security audits on a regular basis.

A security audit is a manual or systematic measurable technical assessment of the firewall.

Given that it consists of a combination of manual and automatable tasks, auditing and recording the results of these tasks on a regular basis is essential.

You need a tool that can both automate tasks, and record results from manual tasks.

This will help track how configuration changes impact the firewall.

  1. Have an end-to-end change management tool.

The key to efficient policy management is an end-to-end change management tool that can track and record requests from start to finish.

  1. A typical change procedure might involve the following steps:
  2. A user raises a request for a particular change.
  3. The request is approved by the firewall/network security team, and all the details on who approves the request are recorded for future reference.
  4. After approval, the configuration is tested to confirm whether changes in the firewall will have the desired effect without causing any threat to the existing setup.
  5. Once the changes are tested, the new rule is deployed into production.
  6. A validation process is performed to ensure that the new firewall settings are operating as intended.
  7. All changes, reasons for changes, timestamps, and personnel involved are recorded.

An end-to-end change monitoring system helps ensure complete cohesion in managing changes in your network.

  1. Lay out an extensive, real-time alert management plan.

A real-time alert management system is critical for efficient firewall management. You need to:

  1. Monitor the availability of the firewall in real time. If a firewall goes down, an alternate firewall needs to immediately go up so all traffic can be routed through this firewall for the time being.
  2. Trigger alarms when the system encounters an attack so that the issue can be quickly rectified.
  3. Set alert notifications for all the changes that are made. This will help security admins keep a close eye on every change as it happens.
  4. Retain logs as per regulations.

You need to retain logs for a stipulated amount of time depending on which regulations you need to comply with.

Different countries have different regulations for how long logs need to be stored for legal purposes. You should check with your legal team on which regulations your business needs to comply with.

  1. Periodically check for security compliance.

Regular internal audits combined with compliance checks for different security standards are important aspects of maintaining a healthy network.

Every company will follow different compliance standards based on the industry that business is in; you can automate compliance checks and audits to run on a regular basis to ensure you’re meeting industry standards.

  1. Upgrade your firewall software and firmware.

No network or firewall is perfect, and hackers are working around the clock to find any loopholes they can.

Regular software and firmware updates to your firewall help eliminate known vulnerabilities in your system.

Not even the best set of firewall rules can stop an attack if a known vulnerability hasn’t been patched.

About Firewall Analyzer

Firewall Analyzer, agentless log analytics and configuration management software, helps network

administrators understand how bandwidth is being used in their network. Firewall Analyzer is

vendor-agnostic and supports almost all open-source and commercial network firewalls from popular vendors such as Check Point, Cisco, Juniper, Fortinet, Palo Alto Networks, and more.

About ManageEngine

ManageEngine is the enterprise IT management division of Zoho Corporation. Established and emerging enterprises – including more than 60 percent of the Fortune 500 – rely on our real-time IT management tools to ensure optimal performance of their IT infrastructure, including networks, servers, applications, desktops and more. We have offices worldwide, including the United States, the Netherlands, India, Singapore, Japan, China, and Australia as well as a network of 200+ global partners to help organizations tightly align their businesses and IT.

About ITR Technology

ITR Technology have been the sole distributers of ManageEngine software in South Africa for over 18 years. With certified support engineers, a dedicated sales team and a newly constructed ManageEngine training centre, ITR Technology values making a difference in the lives of South African IT professionals. For more information, please visit www.itrtech.africa, follow us Facebook www.facebook.com/itrtech/, Twitter https://twitter.com/ITRTech_za  and LinkedIn www.linkedin.com/company/ITR Technology (ManageEngine South Africa).

Like this article?

Share on Facebook
Share on Twitter
Share on Linkedin
Share on Pinterest
Share on Whatsapp
Share by Email