{"id":129,"date":"2022-11-30T10:00:52","date_gmt":"2022-11-30T02:00:52","guid":{"rendered":"https:\/\/namo.one\/?p=129"},"modified":"2022-11-30T14:54:17","modified_gmt":"2022-11-30T06:54:17","slug":"a-few-useful-iptables-command","status":"publish","type":"post","link":"https:\/\/byso.top\/?p=129","title":{"rendered":"A few useful iptables rules"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>iptables -nvL INPUT --line-numbers        #list INPUT chain rules by number<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables -D INPUT 2                       #delete a rule by number<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables -I INPUT 1 -p tcp --destination-port 81 -j DROP      # block a particular port<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-linux-applications"],"_links":{"self":[{"href":"https:\/\/byso.top\/index.php?rest_route=\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byso.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byso.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byso.top\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/byso.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=129"}],"version-history":[{"count":5,"href":"https:\/\/byso.top\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/byso.top\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/byso.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byso.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byso.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}