Hello and welcome to our video on network security and firewalls. In today’s digital age, securing our networks is more important than ever. With the increasing threat of cyber attacks, it’s crucial that we understand the importance of firewalls in protecting our networks.
What is Firewall?
A firewall is a security device that monitors and controls incoming and outgoing network traffic based on a set of predetermined security rules. It acts as a barrier between a trusted network and an untrusted network, such as the internet.
Configure Firewall in Linux :
In this articel I will show you how to configure firewall service in CentOS 7 by using firewalld daemon.
First need to be install the package in linux
Step 1 : Install epel-release
#yum install epel-release
Step 2 : Download firewalld-daemon
#yum install firewalld -y
Step 3 : Run the below command to enable the firewall service.
#systemctl start firewalld
To Enable at boot :
#systemctl enable firewalld
Verfiy Firewall is Enable and Running on your System
Step 4 : Check current default zone
Step 5 : Check all available zones
Step 6 : Open up incoming http, https and ftpd traffic for public zone
#firewall-cmd –permanent –zone=public –add-service=http
#firewall-cmd –permanent –zone=public –add-service=https
#firewall-cmd –permanent –zone=public –add-service=ftpd
Step 7 : Open up incoming traffic with the help of port number
Step 8 : Activate the Apply add-rule
Step 9 : Check Display All Running Firewall Configuration
#firewall-cmd –zone=public –list-all
Thankyou you! for Visiting
If you find this tutorial helpful please share with your friends ,For more helpful topic browse the websit www.mainvps.net.