Summary: A firewall controls traffic into and out of a network to block unauthorised access. This article explains hardware, software and cloud firewalls with their pros and cons, the preparation steps and how to configure a firewall for strong network security.
Quick answer: A firewall controls inbound and outbound network traffic according to rules to block unauthorised access. Types: hardware (at the network edge), software (on a computer, such as Windows Firewall) and cloud / next-generation firewalls (NGFW) that add IPS, web filtering and anti-malware. Basic configuration: (1) deny everything by default and open only the ports you need (80/443 for web; restrict SSH/RDP to specific IP addresses); (2) segment the network with VLANs and set rules between zones; (3) block dangerous ports and protocols and enable logging; (4) for businesses, enable IPS and content filtering, use VPN with MFA and keep firmware updated. Principles: least privilege, regular rule reviews and testing.
Why firewall configuration matters
Firewall configuration plays a decisive role in protecting your information and digital assets. A well-configured firewall blocks unauthorised access and network attacks. This article covers the types of firewall, basic and advanced configuration, and suitable solutions for businesses and homes.
What is a firewall?
A firewall is a system that controls network traffic. It can be hardware or software and acts as a protective layer between the internal network and the internet, blocking unwanted access and keeping documents and important data safe.
Types of firewall
There are several types of firewall, each suited to different needs and network designs. The three most common are:
Hardware firewalls: pros and cons
A hardware firewall is a dedicated appliance that protects the whole network. It offers high performance and is standard in businesses. The downside is a higher upfront cost, plus licences for advanced security features.
Software firewalls: flexible protection
A software firewall runs on a computer or server, providing flexible, low-cost protection. It does not replace a network firewall, but it is very effective at protecting individual devices and is an important second layer of defence.
Cloud firewalls: protection for online systems
Cloud firewalls (firewall as a service) deliver security as an online service. They protect cloud workloads and remote users and scale easily, which suits companies that want to reduce on-premises infrastructure.
Step by step: basic firewall configuration
Once you have chosen a firewall, configure it to maximise security:
Preparation
Before you start, gather the information you need: IP addresses, subnets, the list of servers and services, and administrator credentials. Back up the current configuration and change the default admin password.
Configure rules to allow and block traffic
Decide which connections are allowed and which are blocked. List the services and applications needed for work or home, create rules for them, and deny everything else by default.
Test the configuration
After configuring, always test that the firewall behaves as intended. Use port scanners and testing tools from outside and inside the network to make sure nothing unexpected is exposed.
Advanced firewall configuration
Once you are comfortable with the basics, consider these advanced techniques:
Set up a DMZ (demilitarised zone)
A DMZ isolates public-facing servers, reducing the risk to the main network. Place services such as web or mail servers there.
Configure VPN through the firewall
A VPN encrypts the connection between devices and the network. Configure the firewall to allow VPN traffic securely, preferably with multi-factor authentication for remote users.
Use content filtering
Content filtering controls which kinds of websites and content users can access. It is important in business environments to block unnecessary or malicious sites.
Firewall solutions for every size
Business firewalls: protecting data and assets
Businesses need a capable firewall with advanced features such as application control, intrusion detection and prevention, and centralised logging. Invest in a solution that matches the size of your network and the value of your data.
Home firewalls: protecting connected devices
At home, the router’s built-in firewall plus the software firewall on each device is usually enough to protect computers, smartphones and tablets. Keep firmware and software updated and check the settings regularly.
Troubleshooting common firewall problems
The firewall is blocking a connection
If the firewall blocks an application you need, review your rules and logs. A rule may be outdated or need adjusting; open only what is required.
Misconfiguration: restoring factory settings
If the firewall has serious problems, consider restoring a known-good backup or the factory settings. Always back up the configuration first so you can recover quickly.
Summary
Firewall configuration is not a one-off task but an essential part of your security strategy. From choosing the right type to configuring and reviewing it correctly, every step affects how safe your systems are.
Learn more
To learn more about firewalls and network security, use vendor documentation, network security books and courses from industry experts.
For firewall design and configuration for your business, see our IT Support service or contact IT Systems at hotline 028.3995.03.59 or contact@itsystems.com.vn.
FAQ
How is a hardware firewall different from Windows Firewall?
A hardware firewall protects the whole network at the Internet edge; Windows Firewall protects each PC. Businesses should use both.
What principles should firewall rules follow?
Deny by default, open only needed ports and services, restrict by source, document each rule’s purpose and review regularly.
Should Remote Desktop be exposed to the Internet?
No. Public RDP is constantly brute-forced and used for ransomware; use VPN with MFA or a secure remote access service.
Unstable office network that needs redesigning?
IT Systems surveys, designs and deploys LAN, Wi-Fi, firewall and VPN for offices and branches, with full documentation.



