{"id":14,"date":"2017-09-25T21:31:53","date_gmt":"2017-09-25T19:31:53","guid":{"rendered":"http:\/\/coality.net\/?p=10"},"modified":"2017-09-25T21:31:53","modified_gmt":"2017-09-25T19:31:53","slug":"linux_firewall","status":"publish","type":"post","link":"https:\/\/blog.coality.net\/index.php\/2017\/09\/25\/linux_firewall\/","title":{"rendered":"Install linux firewall"},"content":{"rendered":"<h1>UFW\u00a0Uncomplicated Firewall<\/h1>\n<h2>Default policy<\/h2>\n<pre>ufw default deny incoming\nufw default allow outgoing<\/pre>\n<h2>Initial rules<\/h2>\n<pre>ufw allow 53\nufw allow http\nufw allow smtp\nufw allow ssh<\/pre>\n<h2>Enable logging<\/h2>\n<pre>ufw logging on<\/pre>\n<h2>To show the rules with numbers<\/h2>\n<blockquote>\n<pre>ufw status numbered\u00a0verbose<\/pre>\n<\/blockquote>\n<h2>You can delete rule with number<\/h2>\n<blockquote>\n<pre>ufw delete &lt;rule_number&gt;<\/pre>\n<\/blockquote>\n<h2>Allow transmission traffic<\/h2>\n<blockquote>\n<pre>ufw allow in 9092\/tcp<\/pre>\n<\/blockquote>\n<h2>Hodapi deny IPs<\/h2>\n<blockquote>\n<pre>sudo ufw deny from 90.80.155.240\/28\nsudo ufw deny from 80.12.48.0\/24\nsudo ufw deny from 5.23.42.12\/30\nsudo ufw deny from 195.5.217.72\/29\nsudo ufw deny from 81.80.36.231\nsudo ufw deny from 81.80.36.232\nsudo ufw deny from 81.80.36.233\nsudo ufw deny from 81.80.36.234\nsudo ufw deny from 194.79.189.240\/29<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UFW\u00a0Uncomplicated Firewall Default policy ufw default deny incoming ufw default allow outgoing Initial rules ufw allow 53 ufw allow http ufw allow smtp ufw allow ssh Enable logging ufw logging on To show the rules with numbers ufw status numbered\u00a0verbose You can delete rule with number ufw delete &lt;rule_number&gt; Allow transmission traffic ufw allow in &hellip; <a href=\"https:\/\/blog.coality.net\/index.php\/2017\/09\/25\/linux_firewall\/\" class=\"more-link\">Continuer la lecture de <span class=\"screen-reader-text\">Install linux firewall<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,4],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-computer","category-linux","category-security"],"_links":{"self":[{"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coality.net\/index.php\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}