WHAT IS FIREWALL ?
If you have more than one computer connected in the home, or if you have a small-office network, it is important to protect every computer. You should have a hardware firewall (such as a router) to protect your network, but you should also use a software firewall on each computer to help prevent the spread of a virus in your network if one of the computers becomes infected.
But when we deal with Networking, the Definition of Firewall changes as below
Inside Network (Trusted Network)------>>>>Firewall----->>>Outside Network (UnTrusted Network)
If you have more than one computer connected in the home, or if you have a small-office network, it is important to protect every computer. You should have a hardware firewall (such as a router) to protect your network, but you should also use a software firewall on each computer to help prevent the spread of a virus in your network if one of the computers becomes infected.
But when we deal with Networking, the Definition of Firewall changes as below
- Firewall is a product which creates segments in the network based on Security requirements.
- In Simple words it divides the network into different Spaces.
- Segments can either be L2 or L3 depending upon the requirement.
Firewall divides the network into multiple Security Segment and then creates policies to allow Traffic from one Segment to another.
- Switch creates Segments on L2 Network, While Router on L3 and Firewall creates Segmentation on L2 & L3 both.
- It creates 2 Segments (Private Network & Public Network)
- Private Network is the inside Network which is trusted Network, protected from outside World.
- Public Network is the outside Network which is treated as Untrusted Network.
Inside Network (Trusted Network)------>>>>Firewall----->>>Outside Network (UnTrusted Network)