{"id":1036,"date":"2024-11-24T12:45:30","date_gmt":"2024-11-24T11:45:30","guid":{"rendered":"https:\/\/www.cipv6.de\/worp\/?p=1036"},"modified":"2024-11-24T12:45:31","modified_gmt":"2024-11-24T11:45:31","slug":"do-you-use-nftables-or-iptables-or-both","status":"publish","type":"post","link":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/","title":{"rendered":"Do you use NFTables or IPTables (or both) ?"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\">Most major Linux distributions have adopted nftables as their default firewall framework, often using it under the hood for iptables commands. Here are some of the key distributions that support nftables:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>Debian<\/strong>: Starting with Debian Buster, nftables is the default backend for iptables.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Ubuntu<\/strong>: From Ubuntu 20.10 (Groovy Gorilla) onwards, nftables is included and can be used as the default firewall framework.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Fedora<\/strong>: Fedora has integrated nftables and uses it as the default firewall framework.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Arch Linux<\/strong>: Arch Linux includes nftables and provides packages for easy installation and configuration.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Red Hat Enterprise Linux (RHEL)<\/strong>: RHEL 8 and later versions use nftables as the default packet filtering framework.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Let&#8217;s examine a fresh installed Ubuntu 24.04 LTS on an RPI:<br><br>What is <strong>\t\t<span \n\t\t\tid=\"ctc-inline-6N0ZpqKo\"\n\t\t\tclass=\"ctc-shortcode ctc-shortcode--inline\"\n\t\t\tdata-ctc-analytics=\"1\"\n\t\t\tdata-ctc-copy=\"iptables -V\"\n\t\t\tdata-ctc-success=\"Copied\"\n\t\t\tdata-ctc-format=\"text\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trole=\"button\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t\taria-label=\"Copy to clipboard\"\n\t\t\t\t\t>\n\t\t\t<span class=\"ctc-shortcode__text \">iptables -V<\/span>\n\t\t\t<span class=\"ctc-shortcode__icon\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z\" \/><\/svg><\/span>\t\t\t<span class=\"ctc-shortcode__success\" aria-live=\"polite\"><\/span>\n\t\t<\/span>\n\t\t<\/strong> telling me ?<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-medium-font-size wp-elements-9be77f90fa4e289910fd894d9cf82e9a\"><code lang=\"bash\" class=\"language-bash\">\u250c\u2500\u2500$(root\u327fraspi24n)-[\/]\n\u2514\u2500# iptables -V\niptables v1.8.10 (nf_tables)<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">The system does not use the legacy iptables framework, instead it uses the nf_tables version of iptables which provides a bridge to the nftables infrastructure\/framework.<br><br>to complete the knowledge we check the symbolic link of iptables:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-medium-font-size wp-elements-719b6981bf559bf296c0f5bb84603f4d\"><code lang=\"bash\" class=\"language-bash\">\u250c\u2500\u2500$(root\u327fraspi24n)-[\/]\n\u2514\u2500# ls -al \/usr\/sbin\/iptables\nlrwxrwxrwx 1 root root 26 Apr  8  2024 \/usr\/sbin\/iptables -> \/etc\/alternatives\/iptables\n\n\u2514\u2500# ls -l \/etc\/alternatives\/iptables\nlrwxrwxrwx 1 root root 22 Aug 27 16:29 \/etc\/alternatives\/iptables -> \/usr\/sbin\/iptables-nft<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Iptables-nft ruleset appears in the rule listing of nftables.<br><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Is iptables-nft and nftables then the same <\/strong>? <strong>No<\/strong>, but they <strong>share the infrastructure<\/strong> <strong>of nftables<\/strong>.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a12e783965bc\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a12e783965bc\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#Heres_how_they_work_together\" >Here\u2019s how they work together:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#Best_Practices\" >Best Practices<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Heres_how_they_work_together\"><\/span>Here\u2019s how they work together:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Compatibility Layer<\/strong><br><strong>iptables-nft<\/strong>: This is a variant of iptables that uses the nftables kernel API. When you use iptables commands, they are translated into nftables rules by this compatibility layer. This allows you to continue using familiar iptables commands while benefiting from the advanced features of nftables.<br><strong>iptables-legacy<\/strong>: This is the traditional iptables that directly interacts with the kernel&#8217;s iptables API. If you use iptables-legacy, it operates independently of nftables and does not translate rules into nftables format.<br>Interaction<br><strong>Rule Management<\/strong>: When you use iptables-nft, the rules you create are managed by nftables under the hood. This means that nftables takes precedence, and the rules are stored in the nftables ruleset.<br><strong>Kernel API<\/strong>: Both iptables-nft and nftables use the same kernel API for packet filtering. This ensures that the packet matching and filtering behavior is consistent, regardless of which tool you use to create the rules.<br><strong>Coexistence<\/strong>: If you use both iptables-legacy and nftables, they can coexist, but it\u2019s generally recommended to stick with one framework to avoid conflicts and ensure consistency.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Best_Practices\"><\/span><strong>Best Practices<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Transition to nftables<\/strong>: If you\u2019re starting fresh or looking to modernize your firewall management, transitioning to nftables is recommended. It offers better performance, more features, and a simpler syntax.<br><strong>Use iptables-nft<\/strong>: If you prefer using iptables commands, use the iptables-nft variant to take advantage of nftables&#8217; capabilities while maintaining familiarity with iptables syntax.<br>By understanding how iptables and nftables interact, you can make informed decisions about managing your firewall rules and ensure a smooth transition to nftables.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Check out the official nftables wiki:\u00a0<a href=\"http:\/\/wiki.nftables.org\/\">http:\/\/wiki.nftables.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most major Linux distributions have adopted nftables as their default firewall framework, often using it under the hood for iptables commands. Here are some of the key distributions that support nftables: Let&#8217;s examine a fresh installed Ubuntu 24.04 LTS on an RPI:What is telling me ? The system does not use the legacy iptables framework, &hellip; <a href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Do you use NFTables or IPTables (or both) ?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1058,"comment_status":"open","ping_status":"open","sticky":false,"template":"template-page-builder-no-sidebar.php","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Are you team nftables or iptables (or both)? Let's dive into the pros and cons of each and find out which one suits your needs best! #Linux #Firewall #nftables #iptables","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[61],"tags":[51],"class_list":["post-1036","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Do you use NFTables or IPTables (or both) ? - cipv6.de<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Do you use NFTables or IPTables (or both) ? - cipv6.de\" \/>\n<meta property=\"og:description\" content=\"Most major Linux distributions have adopted nftables as their default firewall framework, often using it under the hood for iptables commands. Here are some of the key distributions that support nftables: Let&#8217;s examine a fresh installed Ubuntu 24.04 LTS on an RPI: What is telling me ? The system does not use the legacy iptables &hellip; Continue reading &quot;Do you use NFTables or IPTables (or both) ?&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/\" \/>\n<meta property=\"og:site_name\" content=\"cipv6.de\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-24T11:45:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-24T11:45:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ugu5ma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ugu5ma\" \/>\n<meta name=\"twitter:site\" content=\"@ugu5ma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ugu5ma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/\"},\"author\":{\"name\":\"ugu5ma\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"headline\":\"Do you use NFTables or IPTables (or both) ?\",\"datePublished\":\"2024-11-24T11:45:30+00:00\",\"dateModified\":\"2024-11-24T11:45:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/\"},\"wordCount\":465,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1\",\"keywords\":[\"Linux\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/\",\"url\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/\",\"name\":\"Do you use NFTables or IPTables (or both) ? - cipv6.de\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1\",\"datePublished\":\"2024-11-24T11:45:30+00:00\",\"dateModified\":\"2024-11-24T11:45:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2024\\\/11\\\/24\\\/do-you-use-nftables-or-iptables-or-both\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Do you use NFTables or IPTables (or both) ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#website\",\"url\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/\",\"name\":\"cipv6.de\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\",\"name\":\"ugu5ma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"caption\":\"ugu5ma\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/cipv6.de\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Do you use NFTables or IPTables (or both) ? - cipv6.de","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/","og_locale":"en_US","og_type":"article","og_title":"Do you use NFTables or IPTables (or both) ? - cipv6.de","og_description":"Most major Linux distributions have adopted nftables as their default firewall framework, often using it under the hood for iptables commands. Here are some of the key distributions that support nftables: Let&#8217;s examine a fresh installed Ubuntu 24.04 LTS on an RPI: What is telling me ? The system does not use the legacy iptables &hellip; Continue reading \"Do you use NFTables or IPTables (or both) ?\"","og_url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/","og_site_name":"cipv6.de","article_published_time":"2024-11-24T11:45:30+00:00","article_modified_time":"2024-11-24T11:45:31+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg","type":"image\/jpeg"}],"author":"ugu5ma","twitter_card":"summary_large_image","twitter_creator":"@ugu5ma","twitter_site":"@ugu5ma","twitter_misc":{"Written by":"ugu5ma","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#article","isPartOf":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/"},"author":{"name":"ugu5ma","@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"headline":"Do you use NFTables or IPTables (or both) ?","datePublished":"2024-11-24T11:45:30+00:00","dateModified":"2024-11-24T11:45:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/"},"wordCount":465,"commentCount":0,"publisher":{"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"image":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1","keywords":["Linux"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/","url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/","name":"Do you use NFTables or IPTables (or both) ? - cipv6.de","isPartOf":{"@id":"https:\/\/www.cipv6.de\/worp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#primaryimage"},"image":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1","datePublished":"2024-11-24T11:45:30+00:00","dateModified":"2024-11-24T11:45:31+00:00","breadcrumb":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#primaryimage","url":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cipv6.de\/worp\/"},{"@type":"ListItem","position":2,"name":"Do you use NFTables or IPTables (or both) ?"}]},{"@type":"WebSite","@id":"https:\/\/www.cipv6.de\/worp\/#website","url":"https:\/\/www.cipv6.de\/worp\/","name":"cipv6.de","description":"","publisher":{"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cipv6.de\/worp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d","name":"ugu5ma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","caption":"ugu5ma"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g"},"sameAs":["https:\/\/cipv6.de"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9uBTs-gI","jetpack-related-posts":[{"id":1335,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2025\/05\/04\/tmux-beats-disown-for-persistent-ssh-sessions\/","url_meta":{"origin":1036,"position":0},"title":"tmux Beats disown for Persistent SSH Sessions","author":"ugu5ma","date":"May 4, 2025","format":false,"excerpt":"Why Terminal Session Persistence Matters Imagine this: you SSH into your server to launch a data backup that takes a couple of hours. Halfway through, your internet connection drops \u2014 and with it, the SSH session. When you reconnect, the process is gone. You have to start all over again,\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":939,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/08\/26\/duplicati-rpi-setup-on-64-bit-ubuntu-os-jammy-22-04\/","url_meta":{"origin":1036,"position":1},"title":"Duplicati RPi setup on 64-bit Ubuntu OS Jammy (22.04)","author":"ugu5ma","date":"August 26, 2024","format":false,"excerpt":"Setting up Duplicati on Ubuntu Jammy (22.04) for Raspberry Pi (RPI) is a great way to ensure your data is securely backed up. Duplicati is a free, open-source backup solution that allows you to store encrypted, incremental, and compressed backups on various cloud storage services and remote file servers.\u00a0It supports\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1103,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2025\/01\/11\/automate-your-cloud-backups-rclone-and-duplicati\/","url_meta":{"origin":1036,"position":2},"title":"Automate Your Cloud Backups: rclone and Duplicati","author":"ugu5ma","date":"January 11, 2025","format":false,"excerpt":"In today's digital age, safeguarding your data is more crucial than ever. With the increasing reliance on cloud storage, it's essential to have a robust backup strategy in place. This blog post will guide you through automating your cloud backups (like Onedrive in this example) using\u00a0rclone\u00a0and\u00a0Duplicati\u00a0on a Linux system (in\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/himage.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/himage.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/himage.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/himage.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":835,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/11\/13\/ubuntu-remove-ipv4-protocol-from-ethernet-interface\/","url_meta":{"origin":1036,"position":3},"title":"Ubuntu: remove ipv4-protocol from ethernet interface","author":"ugu5ma","date":"November 13, 2022","format":false,"excerpt":"On my Ubuntu-host I have my ethernet-interface connected to an mirror-port.I want to remove the ipv4-protocol from this interface to avoid unnecessary traffic on this interface.With root-rights execute \"nmcli connection show --active\": ugu5ma nmcli connection show --active NAME UUID TYPE DEVICE Fleischele2 8877f4c8-b38d-4028-a71d-b237d8ff649e wifi wlp3s0 br-5bece4d6fbd8 3a34eddc-2c98-4140-9b40-74bcd355cde4 bridge br-5bece4d6fbd8 docker0\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1068,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/12\/14\/ssh-security-made-easy-an-introduction-to-ssh-audit\/","url_meta":{"origin":1036,"position":4},"title":"SSH Security Made Easy: An Introduction to ssh-audit","author":"ugu5ma","date":"December 14, 2024","format":false,"excerpt":"ssh-audit is a powerful tool designed to help you assess the security of your SSH servers (and clients!). It provides detailed information about the server's configuration, supported algorithms, and potential vulnerabilities. In this guide, I'll walk you through the steps to install ssh-audit and run your first security tests. Secure\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":752,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/16\/influxdb-show-real-database-size-in-grafana\/","url_meta":{"origin":1036,"position":5},"title":"Influxdb: show real database size in Grafana","author":"ugu5ma","date":"April 16, 2022","format":false,"excerpt":"Influxdb has no useful functions to look at the real database size. As I have created a retention policy combined with continuous queries I want to see the exact values per database. I use the following approach: in Crontab a bash is executed to get the real influxes database valuesthe\u2026","rel":"","context":"In &quot;Home-Assistant&quot;","block_context":{"text":"Home-Assistant","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/home-assistant\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts\/1036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/comments?post=1036"}],"version-history":[{"count":0,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts\/1036\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/media\/1058"}],"wp:attachment":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/media?parent=1036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/categories?post=1036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/tags?post=1036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}