LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2022, 07:00 AM   #1
blueray
Member
 
Registered: Feb 2020
Location: Bangladesh
Distribution: Debian, Ubuntu, Linux Mint
Posts: 136

Rep: Reputation: 2
What is the relationship or difference among iptables, xtables, iptables-nft, xtables-nft, nf_tables, nftables


I have been reading for a while now.

What I understood is:

nftables is the modern Linux kernel packet classification framework. nftables is the successor to iptables. It replaces the existing iptables, ip6tables, arptables, and ebtables framework.

x_tables is the name of the kernel module carrying the shared code portion used by iptables, ip6tables, arptables and ebtables thus, Xtables is more or less used to refer to the entire firewall (v4, v6, arp, and eb) architecture. As a system admin, I should not worry about xtables / x_tables (some people use the underscore, so not sure whether xtables is same as x_tables or not) which is actually some code in the kernel.

nftables uses nf_tables, where nf_tables is the name of the kernel module. As a system admin, I should not worry about nf_tables which is actually some code in the kernel.

iptables-nft is something that looks like iptables but acts like nftables. Its whole purpose is to migrate from iptables to nftables.

iptables-nft uses xtables-nft, where xtables-nft is the name of the kernel module. As a system admin, I should not worry about xtables-nft.

Please let my know whether the above statements are right or wrong. If wrong then please give me the correct statement.

Last edited by blueray; 01-25-2022 at 07:51 AM.
 
Old 01-25-2022, 06:06 PM   #2
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by blueray View Post
Please let my know whether the above statements are right or wrong. If wrong then please give me the correct statement.
Pretty much right yes. I don't know them all, but the ones I know I understand the same way as you. So I'm not "verifying" all, just most, and I could be wrong too. But from that, I think most or all are pretty spot on.
 
1 members found this post helpful.
  


Reply

Tags
firewall, iptables, netwoking, nftables



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nftables : nft commands throwing " error - Operation not supported" Santoshkb Linux - Networking 2 05-12-2020 07:51 AM
Need help for nftables : nft commands throwing " error - Operation not supported" Santoshkb Linux - Security 1 05-11-2020 07:56 AM
Need help understanding iptables, iptable_filter and xtables Ritzerk Linux - Kernel 3 03-06-2018 03:30 AM
LXer: Xtables-Addons On Centos 6 & Iptables GeoIP Filtering LXer Syndicated Linux News 0 08-19-2011 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration