{"id":342,"date":"2019-01-29T13:58:33","date_gmt":"2019-01-29T21:58:33","guid":{"rendered":"https:\/\/angrysysadmins.tech\/?p=342"},"modified":"2019-03-19T23:29:28","modified_gmt":"2019-03-20T07:29:28","slug":"quirks-of-iptables-on-kali-linux","status":"publish","type":"post","link":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/","title":{"rendered":"Quirks of iptables on Kali Linux"},"content":{"rendered":"<h3>Preface<\/h3>\n<p>iptables has been a part of linux for over 20 years now, and it&#8217;s starting to show its age. In fact, it has already been replaced by nftables as of kernel 3.13. As a consequence of this transitional period, you might run into some bumps along the road while maintaining your iptables based firewall. Here are a few examples Bailey and I discovered the other day while messing around with it on Kali.<\/p>\n<h3>More Than You Bargained For<\/h3>\n<p>Updating iptables on Kali will do far more than you might expect. In addition to installing nftables, you&#8217;ll also get something called iptables-legacy. This wouldn&#8217;t be so big of a deal if it weren&#8217;t for the fact that updating with iptables rules in place then kicks them all into iptables-legacy (still active) and clears your regular iptables. Just to add to the potential confusion, rebooting with netfilter-persistent enabled then restores those legacy rules into your regular ruleset.<\/p>\n<p>&nbsp;<\/p>\n<p>So far these behaviors have only been observed on Kali and were not found when checked for on Debian and Ubuntu. If I find them anywhere else, I&#8217;ll post an update.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Preface iptables has been a part of linux for over 20 years now, and it&#8217;s starting to show its age. In fact, it has already been replaced by nftables as of kernel 3.13. As a consequence of this transitional period, you might run into some bumps along the road while maintaining your iptables based firewall. <br \/><a class=\"read-more-button\" href=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[97,96,6,98],"coauthors":[38],"class_list":["post-342","post","type-post","status-publish","format-standard","hentry","category-linux","tag-iptables","tag-kali","tag-linux","tag-nftables"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Quirks of iptables on Kali Linux - Angry Sysadmins<\/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:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quirks of iptables on Kali Linux - Angry Sysadmins\" \/>\n<meta property=\"og:description\" content=\"Preface iptables has been a part of linux for over 20 years now, and it&#8217;s starting to show its age. In fact, it has already been replaced by nftables as of kernel 3.13. As a consequence of this transitional period, you might run into some bumps along the road while maintaining your iptables based firewall. Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Angry Sysadmins\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-29T21:58:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-20T07:29:28+00:00\" \/>\n<meta name=\"author\" content=\"James Block\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Block\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/\"},\"author\":{\"name\":\"James Block\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/901e72ffa6764487e5a6a8feedf296f7\"},\"headline\":\"Quirks of iptables on Kali Linux\",\"datePublished\":\"2019-01-29T21:58:33+00:00\",\"dateModified\":\"2019-03-20T07:29:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/\"},\"wordCount\":197,\"commentCount\":1,\"keywords\":[\"iptables\",\"Kali\",\"Linux\",\"nftables\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/\",\"name\":\"Quirks of iptables on Kali Linux - Angry Sysadmins\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\"},\"datePublished\":\"2019-01-29T21:58:33+00:00\",\"dateModified\":\"2019-03-20T07:29:28+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/901e72ffa6764487e5a6a8feedf296f7\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2019\\\/01\\\/suser\\\/quirks-of-iptables-on-kali-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/angrysysadmins.tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quirks of iptables on Kali Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/\",\"name\":\"Angry Sysadmins\",\"description\":\"A site full of angry sysadmins here to vent and help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/angrysysadmins.tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/901e72ffa6764487e5a6a8feedf296f7\",\"name\":\"James Block\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0fdef63409b05fc72fdb87c1525848297b0087287f5d736b8e8480e4a20d6223?s=96&d=mm&r=gb49c11603f13a9b74c698d94a28349eb\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0fdef63409b05fc72fdb87c1525848297b0087287f5d736b8e8480e4a20d6223?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0fdef63409b05fc72fdb87c1525848297b0087287f5d736b8e8480e4a20d6223?s=96&d=mm&r=g\",\"caption\":\"James Block\"},\"description\":\"Netfilter's very own Anubis. Odd job IT. Over the top data and disk destruction. Security\\\/privacy oriented. I can pick your door lock pretty fast, but I can unlock your heart even faster.\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/author\\\/suser\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Quirks of iptables on Kali Linux - Angry Sysadmins","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:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/","og_locale":"en_US","og_type":"article","og_title":"Quirks of iptables on Kali Linux - Angry Sysadmins","og_description":"Preface iptables has been a part of linux for over 20 years now, and it&#8217;s starting to show its age. In fact, it has already been replaced by nftables as of kernel 3.13. As a consequence of this transitional period, you might run into some bumps along the road while maintaining your iptables based firewall. Read More &raquo;","og_url":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/","og_site_name":"Angry Sysadmins","article_published_time":"2019-01-29T21:58:33+00:00","article_modified_time":"2019-03-20T07:29:28+00:00","author":"James Block","twitter_card":"summary_large_image","twitter_misc":{"Written by":"James Block","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/#article","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/"},"author":{"name":"James Block","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/901e72ffa6764487e5a6a8feedf296f7"},"headline":"Quirks of iptables on Kali Linux","datePublished":"2019-01-29T21:58:33+00:00","dateModified":"2019-03-20T07:29:28+00:00","mainEntityOfPage":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/"},"wordCount":197,"commentCount":1,"keywords":["iptables","Kali","Linux","nftables"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/","url":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/","name":"Quirks of iptables on Kali Linux - Angry Sysadmins","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/#website"},"datePublished":"2019-01-29T21:58:33+00:00","dateModified":"2019-03-20T07:29:28+00:00","author":{"@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/901e72ffa6764487e5a6a8feedf296f7"},"breadcrumb":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/angrysysadmins.tech\/index.php\/2019\/01\/suser\/quirks-of-iptables-on-kali-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/angrysysadmins.tech\/"},{"@type":"ListItem","position":2,"name":"Quirks of iptables on Kali Linux"}]},{"@type":"WebSite","@id":"https:\/\/angrysysadmins.tech\/#website","url":"https:\/\/angrysysadmins.tech\/","name":"Angry Sysadmins","description":"A site full of angry sysadmins here to vent and help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/angrysysadmins.tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/901e72ffa6764487e5a6a8feedf296f7","name":"James Block","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0fdef63409b05fc72fdb87c1525848297b0087287f5d736b8e8480e4a20d6223?s=96&d=mm&r=gb49c11603f13a9b74c698d94a28349eb","url":"https:\/\/secure.gravatar.com\/avatar\/0fdef63409b05fc72fdb87c1525848297b0087287f5d736b8e8480e4a20d6223?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0fdef63409b05fc72fdb87c1525848297b0087287f5d736b8e8480e4a20d6223?s=96&d=mm&r=g","caption":"James Block"},"description":"Netfilter's very own Anubis. Odd job IT. Over the top data and disk destruction. Security\/privacy oriented. I can pick your door lock pretty fast, but I can unlock your heart even faster.","url":"https:\/\/angrysysadmins.tech\/index.php\/author\/suser\/"}]}},"_links":{"self":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/comments?post=342"}],"version-history":[{"count":14,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/342\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/categories?post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/tags?post=342"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/coauthors?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}