firewalld vs iptables

General support questions
Post Reply
lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

firewalld vs iptables

Post by lse123new » 2018/05/27 20:18:49

firewalld vs iptables

Is possible use Only firewalld and Not iptables, and have same or better, firewall protection than, iptables ????

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: firewalld vs iptables

Post by chemal » 2018/05/27 22:04:14

Firewalld is a front-end for iptables.

Elenax
Posts: 5
Joined: 2018/05/25 06:02:28

Re: firewalld vs iptables

Post by Elenax » 2018/05/28 07:54:55

Firewalld & Iptables are applications which are used to filter the incoming and the outgoing packets where as iptables are the front end where you are creating the rules

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: firewalld vs iptables

Post by jlehtone » 2018/05/28 08:22:15

Linux kernel has netfilter module that has filter rules.

iptables is a userland tool that can modify the rules in kernel.
firewalld is a userland tool that can modify the rules in kernel.

You can mess up with both tools; just in different ways.


Yes, you don't have to touch 'iptables', if you have firewalld (which you do have by default).

However, with being familiar with iptables, I use it to peek what kind of rules the firewalld conjures up.

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: firewalld vs iptables

Post by chemal » 2018/05/29 03:49:09

iptables is a userland tool that can modify the rules in kernel.
And the kernel module that deals with these tables is ip_tables. A lot of kernel modules have underscores in their name, but userland tools usually have not.

And then there's ebtables. The userland tool and the kernel module share the same name. Did they forget to make the difference here?

Post Reply