﻿{"id":294,"date":"2012-09-26T00:02:06","date_gmt":"2012-09-26T03:02:06","guid":{"rendered":"http:\/\/binsfeld.com.br\/wp\/?p=294"},"modified":"2012-09-26T00:02:36","modified_gmt":"2012-09-26T03:02:36","slug":"regra-iptables-acesso-especifico-para-um-ip","status":"publish","type":"post","link":"http:\/\/binsfeld.com.br\/wp\/?p=294","title":{"rendered":"Regra Iptables Acesso Especifico para um IP"},"content":{"rendered":"<pre># Deny all SSH connections\r\niptables -I INPUT -p tcp --dport 22 -j DROP\r\n# All connections from address xyz\r\niptables -I INPUT -p tcp --source 1.2.3.4 --dport 22 -j ACCEPT\r\niptables -I INPUT -p tcp --source 5.6.7.8 --dport 22 -j ACCEPT\r\n\r\n# Deny all webconfig connections\r\niptables -I INPUT -p tcp --dport 81 -j DROP\r\n# All connections from address xyz\r\niptables -I INPUT -p tcp --source 1.2.3.4 --dport 81 -j ACCEPT\r\niptables -I INPUT -p tcp --source 5.6.7.8 --dport 81 -j ACCEPT<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># Deny all SSH connections iptables -I INPUT -p tcp &#8211;dport 22 -j DROP # All connections from address xyz iptables -I INPUT -p tcp &#8211;source 1.2.3.4 &#8211;dport 22 -j<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-firewall"],"_links":{"self":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/294"}],"collection":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=294"}],"version-history":[{"count":4,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions"}],"predecessor-version":[{"id":298,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions\/298"}],"wp:attachment":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}