From the course: Protecting Your Network with Open Source Software

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Netfilter and iptables

Netfilter and iptables

From the course: Protecting Your Network with Open Source Software

Start my 1-month free trial

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. Iptable is a program built to configure the netfilter firewall. Iptables is a command line interface or CLI program which means that you have to rely on a Linux terminal program like this to use iptables. Here is what a basic iptables command looks like. Sudo iptables, dash L tap Enter. This command displays current iptable settings. If you want to view the manual of the iptables program, type man iptables. Press Enter. 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