In today’s interconnected digital landscape, safeguarding personal and professional information by setting up a firewall is paramount. With cyber threats on the rise, setting up a robust defence mechanism is crucial. One of the fundamental tools in your arsenal is a firewall, a digital guardian between your network and potential intruders. This article will walk you through the step-by-step process of how to set up a firewall to fortify your digital fortress and confidently navigate the online realm.

How to Set up A Firewall on a Computer

Setting up a firewall is a smart move for keeping your computer secure. The steps differ depending on the operating system; here are a general idea for Windows and macOS.


Here are simple steps to set up a firewall for Windows:

Open Windows Security

  1. Click on the Start button.
  2. Select “Settings” (gear-shaped icon).
  3. Choose “Update & Security” and then “Windows Security.”

Access Firewall Settings

In Windows Security, select “Firewall & network protection.”

Enable Firewall

Ensure that the firewall is turned on. If not, you can turn it on by clicking on the currently active network.


Here are simple steps to set up a firewall for macOS:

Open Security & Privacy

  1. Click the “Apple” logo.
  2. Select “System Preferences” and then “Security & Privacy.”

Firewall Settings

Go to the “Firewall” tab.

Unlock Settings

Click the lock icon to make changes. You should enter your administrator password.

Turn On Firewall

Check the box for “Enable stealth mode” to make detecting your Mac more challenging. Then click “Firewall Options” to customise settings.

These steps vary slightly depending on your specific operating system version. Also, some third-party antivirus programs have their firewalls, so if you’re using one, you might find firewall settings within that software.

Third-Party Firewalls

If you’re using a third-party antivirus or security software, it might come with its own firewall. In that case, follow the instructions provided by that software to configure the firewall settings.


  1. Be cautious when blocking or allowing applications. Blocking essential services could lead to network issues.
  2. Regularly review and update your firewall settings as needed.
  3. Keep the operating system and security software updated for the latest protection.

Always be cautious when adjusting firewall settings, as blocking the wrong programs or services can disrupt your internet connection or prevent specific applications from working correctly. Suppose you need clarification on a particular setting. In that case, it’s a good idea to do some research or consult someone knowledgeable.

How Do You Setup A Firewall on Mobile Phones?

Setting up a firewall on mobile phones can enhance your device’s security by controlling network traffic and preventing unauthorised access. However, your level of control on mobile devices, especially on non-rooted or non-jailbroken devices, may be more limited compared to a computer. Here are general steps for setting up a firewall on both Android and iOS devices:


Here are simple steps to set up a firewall for Android:

Download a Firewall App

  1. Search for firewall apps on the Google Play Store. Examples include “NetGuard,” “NoRoot Firewall,” or “AFWall+.”
  2. Install the app of your choice.

Grant Permissions

Open the firewall app and grant the necessary permissions, usually allowing VPN connections.

Configure Firewall Rules

  1. Explore the app settings to configure firewall rules. You can typically specify which apps are allowed or denied access to the Internet.
  2. Some apps also allow rules customisation based on Wi-Fi or mobile data connections.

Enable the Firewall

Turn on the firewall within the app to start enforcing the configured rules.


iOS provides a different level of access to third-party firewall apps due to its closed ecosystem. However, you can still control some aspects of network access:

Built-in Settings

  1. Open Settings app on iOS device.
  2. Navigate to “Cellular” or “Wi-Fi,” depending on your connection type.
  3. Scroll down to the installed apps to disable specific apps’ cellular data or Wi-Fi access.

VPN-Based Solutions

  1. Some apps use VPN configurations to filter and control network traffic. While these won’t function exactly like traditional firewalls, they can provide some control.
  2. Search for apps on the App Store that offer VPN-based security features.

Setting up a firewall for Android and iOS may require some trade-offs. For instance, certain functionalities of apps might be affected if they are restricted from accessing the Internet. Always be cautious when installing third-party apps, and choose reputable ones from trusted developers. Additionally, the steps and options available may have evolved since my last update, so checking the latest information in the app stores or online resources is advisable.

How To Setup Firewall in Huawei Router?

Configuring a firewall on a Huawei router involves accessing the router’s web-based interface. Here are general steps; keep in mind that the specific steps might vary slightly based on your router model and firmware version:

Connect to the Router

  1. Connect your computer to the Huawei router either through a wired or wireless connection.
  2. Access the Router’s Web Interface.
  3. Enter the router’s IP address from a web browser in the address bar. Standard addresses are or You can get this information from the manual or on a label on the router itself.
  4. Log in with the router’s username and password.

Navigate to Firewall Settings

Once logged in, look for a section related to “Firewall” or “Security.” this might be located in the main menu or under advanced settings.

Configure Firewall Rules

  1. Depending on the router model, you may have options to create rules, allow or block specific devices, or set up port forwarding.
  2. Create rules based on your preferences, allowing or blocking specific traffic.

Save Changes

After making changes, save and apply the settings; this is usually a button at the bottom or top of the configuration page.

The router settings’ terminology and layout might differ based on your specific Huawei router model. If you need clarification on any specific setting or help finding the firewall settings, consult the router’s user manual or contact Huawei support for assistance. Be cautious when configuring firewall settings to avoid disrupting your network or blocking essential services.

Can A Firewall Act as A VPN?

A firewall and a VPN (Virtual Private Network) serve different purposes. Still, they can work together to enhance the security of a network. Here’s how both of them can create extra layers of protection:


A firewall is a security system which controls and monitors incoming and outgoing network traffic. It is a difference between a trusted internal network and an untrusted external network.

Firewalls primarily focus on allowing or blocking traffic based on defined rules, such as allowing or blocking specific IP addresses, ports, or protocols.


A VPN makes a secure and encrypted connection over the Internet by allowing users to access a private network securely over a public network (like the Internet). VPNs are often used to establish secure connections for remote access to corporate networks or to enhance privacy and security when browsing the Internet.

Firewall with VPN Capabilities

Some modern firewalls come with built-in VPN functionalities. These firewalls can handle VPN connections, allowing users to establish secure connections to the internal network from external locations.

VPN capabilities in a firewall often support popular VPN protocols like IPsec (Internet Protocol Security) or SSL/TLS (Secure Sockets Layer/Transport Layer Security).

VPN alongside a Firewall

In many network setups, a VPN is implemented separately from the firewall. The firewall still plays a crucial role in controlling and securing network traffic. At the same time, the VPN provides secure communication over the InternetInternet.

While a firewall does not act as a VPN, modern firewalls often include VPN features. However, you can use a VPN and a firewall to achieve secure network access and controlled traffic flow.

Do All Routers Have Firewalls?

Most modern routers have a built-in firewall as a standard security feature. This firewall is designed to protect your local network from unauthorised access and potential security threats from the Internet. The firewall in a router typically operates at the network layer. It can perform tasks such as Network Address Translation (NAT), port blocking, and packet filtering.

However, the level of sophistication and customisation options can vary between different router models and brands. Some routers have more advanced firewall settings, allowing users to create specific rules for inbound and outbound traffic, set up port forwarding, and configure other security features.

The term “firewall” can be used in different contexts, and some routers may refer to their security features using different terminology. Additionally, suppose you’re using a combination device, such as a modem router provided by your Internet Service Provider (ISP). In that case, it may also include firewall capabilities.

To check if your router has a firewall and to configure its settings, you can access the router’s web-based configuration interface; this is typically done by entering the router’s IP address and logging in with the router’s administrator credentials. The steps vary based on your router’s make and model, so consult the router’s manual or the manufacturer’s website for detailed instructions.

How Does a Firewall Work Step by Step?

Here is how a firewall works step by step:

  1. Packet Inspection: When transmitted over a network, data is broken down into smaller units called packets. The firewall examines each packet to determine whether it can be allowed or blocked based on predefined security rules.
  2. Source and Destination Check: The firewall checks each packet’s source and destination addresses. It verifies whether the source is a trusted entity and whether the destination is allowed based on the security rules.
  3. Stateful Inspection (if applicable): Stateful inspection is more advanced than packet inspection. The firewall tracks the state of active connections and makes decisions based on the context of the traffic. For example, it can allow incoming packets only if they are part of an established connection.
  4. Port Filtering: Firewalls often filter traffic based on ports. Different services use different ports, and the firewall will allow or block traffic based on the associated port numbers. For example, HTTP traffic typically uses port 80, and HTTPS uses port 443.
  5. Protocol Analysis: The firewall may analyse the protocol used in the packet (e.g., TCP, UDP) to determine whether it complies with the allowed protocols. Some firewalls are application-aware and can even inspect the content of packets to identify specific applications or services.
  6. Rule-Based Decision: The firewall applies some rules. Rules can be based on IP addresses, port numbers, protocols, or a combination of these factors. These rules define what types of traffic are allowed and what types are blocked.
  7. Logging and Reporting: Firewalls often log information about allowed and blocked traffic. Administrators can review logs to identify potential security threats or to analyse network activity.
  8. User Configuration: Administrators can configure the firewall’s settings based on the specific security requirements of the network; this includes setting up rules, configuring port forwarding, and defining exceptions.
  9. Regular Updates: Firewalls should be updated regularly with the latest security definitions to effectively recognise and block new threats.
  10. Alerts and Notifications: Some firewalls can generate alerts or notifications for suspicious activities, providing real-time information to administrators.

By combining these steps, firewalls can help to prevent unauthorised access and protect against various security threats.

A well-configured firewall is an indispensable element in your cybersecurity strategy. By understanding the nuances of firewall setup, you have taken a proactive step towards securing your digital presence. Regularly updating your firewall settings, staying informed about emerging threats, and leveraging the advanced features of modern firewalls will contribute to a robust defence against cyber adversaries. So, in the evolving digital security landscape, an empowered user equipped with the proper knowledge is the first line of defence.