{"id":352,"date":"2021-06-15T09:56:02","date_gmt":"2021-06-15T09:56:02","guid":{"rendered":"https:\/\/alain.fi\/?p=352"},"modified":"2021-06-15T09:56:02","modified_gmt":"2021-06-15T09:56:02","slug":"unban-ip-banned-with-fail2ban","status":"publish","type":"post","link":"https:\/\/alain.fi\/?p=352","title":{"rendered":"Unban IP banned with Fail2ban"},"content":{"rendered":"\n<p>For example, unban the IP xxx.xxx.xxx.xxx that has been banned from sshd:<br>fail2ban-client set sshd unbanip xxx.xxx.xxx.xxx<\/p>\n\n\n\n<p>You can list the banned IP (basically firewall rules) with:<br>iptables -L<br>-> Look for the chain names, for example &#8220;Chain f2b-sshd&#8221; is holding list of banned IPs from sshd. (Chain f2b-postfix-sasl, Chain f2b-dovecot, Chain f2b-pure-ftpd&#8230;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For example, unban the IP xxx.xxx.xxx.xxx that has been banned from sshd:fail2ban-client set sshd unbanip xxx.xxx.xxx.xxx You can list the banned IP (basically firewall rules) with:iptables -L-> Look for the chain names, for example &#8220;Chain f2b-sshd&#8221; is holding list of &hellip; <a href=\"https:\/\/alain.fi\/?p=352\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-352","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=352"}],"version-history":[{"count":1,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":353,"href":"https:\/\/alain.fi\/index.php?rest_route=\/wp\/v2\/posts\/352\/revisions\/353"}],"wp:attachment":[{"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alain.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}