From the course: Protecting Your Network with Open-Source Software

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Netfilter and iptables

Netfilter and iptables

- [Instructor] Netfilter is a built-in Linux firewall. Every Linux distribution comes with Netfilter because it's part of the Linux kernel. IP tables is a program built to configure the Netfilter firewall. IP tables is a command line interface or CLI program, which means that you have to rely on a Linux terminal program like this to use it. Here is what a basic IP table's command looks like. That's type pseudo iptables -L and press enter. This command displays current IP tables settings. If you want to view the manual of the IP tables program, type man iptables. Press enter. You can press the space bar to see more. Press Q to get out. Netfilter organizes its ACL or access control list using tables. ACL is a collection of accept and deny rules for a firewall, which is Netfilter in our case. Netfilter tables in turn contain chains that represent actual ACL rules. The default Netfilter table is filter table, which contains input forward and output chains. Netfilter is a powerful tool…

Contents