Open Naukri

What is Firewall?



Ever thought how your computer is protected from cyber attacks? Any computer when connected to a public network is in a threat of computer network security. The public network is the network which is open to everyone and anyone over web can access data available on public network. Today, every computer user deals with sensitive information and hackers are the ones who search for vulnerable networks so they can steal someone’s personal information by connecting the network. Malicious programs which attack the target computer can take advantage of such network which is not protected by any layer of security.

Every organization whether it is a small scale organization or a medium scale organization has firewall, which is a barrier between the “untrusted” public network and the organization’s private network. The public network i.e., internet is considered as unsafe and risky for communication to private network. There is a need for a protective layer which can protect the private network to get attacked by a malicious user or unauthorized programs and firewall is used for this purpose.

Not only organization’s network but a general user’s computer also has firewall installed in it. Windows users have a default firewall installed in their computer, if you use windows you can check firewall details from settings > update and security > windows security > firewall and network protection.

You can think firewall as a software, hardware or combination of both of them that prevents unauthorized access to or from internal network.

Let’s understand firewall in more depth.

What is firewall?

Firewall is a network device which filters the in-going and outgoing network traffic based on predefined policies. When private network is connected with public network, firewall acts as a monitor whose job is to check whether the data packet which is coming or leaving the internal network should be passed or discarded. It will be clear if you refer the below diagram.

Need of firewall!

Having firewall at the network boundary is like deploying security at the single point. There are numerous reasons why firewall should be used to achieve computer network security at internal network. Some of them are mentioned below:

Also Read: Computer Networking And its Types

Types of firewalls

There are 3 popular types of firewall which are as follows:

Packet filtering firewall are of two types – a. stateless firewall   b. stateful firewall

These proxies are application specific which means a telnet proxy can copy, forward and filter telnet traffic only.  Such proxies can filter packets at the application layer of the OSI model.

But, like application gateway it does not examine the application data and sometimes also called as ‘pipe proxy’.

Wrapping Up

Firewalls are the barriers which protects the internal network from external network. It can be software, hardware or the combination of both. Its job is to monitor the incoming and/or outgoing network traffic from/to internal network. Firewall is needed in various applications such as parental control applications where blocking of porn content is performed by firewall. It acts as a protective layer for a private network and when any program or user wants to gain unauthorized access to the network. Firewall is used in combination with anti-virus because firewall do not protects from viruses, worms, key loggers and other malware.

Do you know what can’t a firewall protect against?