{"id":278,"date":"2016-07-27T02:42:37","date_gmt":"2016-07-27T02:42:37","guid":{"rendered":"http:\/\/softinite.com\/?p=278"},"modified":"2016-08-09T02:37:42","modified_gmt":"2016-08-09T02:37:42","slug":"iptables-rule-to-deny-all-ports-except-the-ones-allowed","status":"publish","type":"post","link":"http:\/\/softinite.com\/?p=278","title":{"rendered":"iptables rule to deny all ports except the ones allowed"},"content":{"rendered":"<pre><code>sudo iptables -A INPUT -p tcp -m tcp -m multiport ! --dports 80,443,22 -j DROP<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>sudo iptables -A INPUT -p tcp -m tcp -m multiport ! &#8211;dports 80,443,22 -j DROP<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[13],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7uKYI-4u","_links":{"self":[{"href":"http:\/\/softinite.com\/index.php?rest_route=\/wp\/v2\/posts\/278"}],"collection":[{"href":"http:\/\/softinite.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/softinite.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/softinite.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/softinite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=278"}],"version-history":[{"count":3,"href":"http:\/\/softinite.com\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":282,"href":"http:\/\/softinite.com\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions\/282"}],"wp:attachment":[{"href":"http:\/\/softinite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/softinite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/softinite.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}