From the course: Linux Hardening

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Blocking unwanted activities and traffic

Blocking unwanted activities and traffic - Linux Tutorial

From the course: Linux Hardening

Blocking unwanted activities and traffic

Welcome to Cybrary's Linux Hardening course. In this lesson, we will cover blocking unwanted activities in traffic. I'm your instructor, Corey Holzer. There are two objectives for this lesson. At the lesson's conclusion, you will be able to install and set up rules for iptables and the intrusion detection system known as Snort. You will also have the understanding and be able to take steps to prevent a denial of service attack. The standard firewall for Linux is iptables. It is installed from a package called iptables located on Ubuntu standard repository. To install, the command is sudo apt install iptables -y. You can check the running status of iptables with the command sudo systemctl status iptables. And if it is not running, you can start it just changing status to the word start. To ensure it will start when the system reboots, you will have to run the systemctl command with the enable flag. A firewall rule consists of multiple parameters, including the source, destination along…

Contents