{"id":9259,"date":"2026-07-25T11:55:53","date_gmt":"2026-07-25T11:55:53","guid":{"rendered":"https:\/\/wiki.xontel.com\/?post_type=manual_documentation&#038;p=9259"},"modified":"2026-07-25T12:02:34","modified_gmt":"2026-07-25T12:02:34","slug":"fail2ban","status":"publish","type":"manual_documentation","link":"https:\/\/wiki.xontel.com\/ar\/documentation\/pbx\/pbx-v-2-x-x\/security\/fail2ban\/","title":{"rendered":"Fail2ban"},"content":{"rendered":"<p class=\"wp-block-paragraph\">The <strong>Fail2ban <\/strong>section is used to configure intrusion prevention for the PBX system. It helps protect system services by monitoring suspicious access attempts and automatically banning IP addresses that exceed the configured failure limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fail2ban is commonly used to reduce brute-force attacks, and repeated failed access attempts against exposed PBX services.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Fail2ban Service<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Enable Service<\/strong>: Enables or disables Fail2ban protection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Reset<\/strong>: Restores the Fail2ban configuration to its previous or default state.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-text-color has-link-color wp-elements-bb8f935b805e4629c14a0903a31ba662\" style=\"color:#4e7188\">Whitelist<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The Whitelist section is used to define trusted IP addresses or networks that should not be banned by Fail2ban. Whitelisted entries are excluded from automatic blocking, even if they match detection rules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Edit Whitelist<\/strong>: Allows administrators to update the trusted IP addresses or network ranges.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-text-color has-link-color wp-elements-c66f68c779054bbdb106cd21340838cf\" style=\"color:#4e7188\">Blacklist<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The Blacklist section displays IP addresses that have been banned by Fail2ban. These entries represent sources that triggered intrusion prevention rules based on repeated failed attempts or suspicious activity.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-text-color has-link-color wp-elements-7101817b7c569b9f47d9bf9379dbca2a\" style=\"color:#4e7188\">Settings<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The Settings section is used to configure the global Fail2ban behavior, including ban duration, monitoring window, and retry limits.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Global Settings<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ban Time<\/strong>: Defines how long an IP address remains banned after triggering Fail2ban rules.<\/li>\n\n\n\n<li><strong>Find Time<\/strong>: Defines the time window used to count failed attempts.<\/li>\n\n\n\n<li><strong>Max Retries<\/strong>: Defines the maximum number of failed attempts allowed within the find time before the IP address is banned.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"author":1,"featured_media":0,"parent":9248,"menu_order":0,"template":"","manualdocumentationcategory":[16],"manual_doc_tag":[],"class_list":["post-9259","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-xontel-doc"],"_links":{"self":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/9259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":7,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/9259\/revisions"}],"predecessor-version":[{"id":9273,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/9259\/revisions\/9273"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/9248"}],"wp:attachment":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/media?parent=9259"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manualdocumentationcategory?post=9259"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_doc_tag?post=9259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}