{"id":15207,"date":"2024-10-15T12:53:23","date_gmt":"2024-10-15T12:53:23","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=15207"},"modified":"2024-10-15T13:30:57","modified_gmt":"2024-10-15T13:30:57","password":"","slug":"fail2ban-configuration-documentation-jail-local-and-fail2ban-local","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/","title":{"rendered":"Fail2Ban Configuration Documentation: jail.local and fail2ban.local"},"content":{"rendered":"\n<p>This documentation explains the key configurable values for <code>fail2ban.local<\/code> and <code>jail.local<\/code> in Fail2Ban. These files allow you to customize Fail2Ban behavior, manage which services are protected, and set specific options for each service.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Overview of Fail2Ban Configuration<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>fail2ban.local<\/code><\/strong>: Used to define global configurations for the Fail2Ban service, such as logging, ban time, and retry limits.<\/li>\n\n\n\n<li><strong><code>jail.local<\/code><\/strong>: Contains the settings for individual services that Fail2Ban should monitor, such as SSH, HTTP, or custom services.<\/li>\n<\/ul>\n\n\n\n<p>Both files are optional and override the default configurations found in <code>fail2ban.conf<\/code> and <code>jail.conf<\/code>. Modifications to <code>.local<\/code> files are preserved during upgrades.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><code>fail2ban.local<\/code> Configuration Options<\/h2>\n\n\n\n<p>The <code>fail2ban.local<\/code> file is where you customize global settings. Below are the key options and their possible values:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">General Settings<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>loglevel<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Defines the verbosity of logs.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>CRITICAL<\/code>: Logs only critical errors.<\/li>\n\n\n\n<li><code>ERROR<\/code>: Logs errors.<\/li>\n\n\n\n<li><code>WARNING<\/code>: Logs warnings.<\/li>\n\n\n\n<li><code>NOTICE<\/code>: Logs notices.<\/li>\n\n\n\n<li><code>INFO<\/code>: Logs information messages.<\/li>\n\n\n\n<li><code>DEBUG<\/code>: Logs detailed debugging information.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>INFO<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>logtarget<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Specifies where Fail2Ban should write log data.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>syslog<\/code>: Logs to syslog.<\/li>\n\n\n\n<li><code>\/path\/to\/logfile<\/code>: Logs to a specific file.<\/li>\n\n\n\n<li><code>STDOUT<\/code>: Logs to the console.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>\/var\/log\/fail2ban.log<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>socket<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Path to the socket file used by Fail2Ban for communication.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: Path to the socket file, such as <code>\/var\/run\/fail2ban\/fail2ban.sock<\/code>.<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>\/var\/run\/fail2ban\/fail2ban.sock<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Ban Settings<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>bantime<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Duration (in seconds) for which an IP address is banned after failing authentication.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Any positive integer (e.g., <code>3600<\/code> for 1 hour).<\/li>\n\n\n\n<li><code>-1<\/code> for a permanent ban.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>600<\/code> (10 minutes)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>maxretry<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Number of failed attempts before banning an IP.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: Any positive integer (e.g., <code>5<\/code> for 5 attempts).<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>5<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>findtime<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Time window (in seconds) during which <code>maxretry<\/code> failed attempts must occur for an IP to be banned.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: Any positive integer (e.g., <code>600<\/code> for 10 minutes).<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>600<\/code> (10 minutes)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>ignoreip<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Specifies IP addresses or ranges that should never be banned.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: IP addresses or CIDR ranges (e.g., <code>127.0.0.1\/8<\/code>, <code>192.168.0.0\/16<\/code>).<\/li>\n\n\n\n<li><strong>Default<\/strong>: None (no IPs are ignored).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Email Notifications<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>mta<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Mail Transfer Agent (MTA) used to send email notifications.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>sendmail<\/code>: Uses Sendmail to send emails.<\/li>\n\n\n\n<li><code>mail<\/code>: Uses the <code>mail<\/code> command.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>sendmail<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>sendername<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Name of the email sender.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: Any valid string (e.g., <code>Fail2Ban<\/code>).<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>Fail2Ban<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>destemail<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Email address to which notifications should be sent.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: Any valid email address (e.g., <code>admin@example.com<\/code>).<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>root@localhost<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><code>jail.local<\/code> Configuration Options<\/h2>\n\n\n\n<p>The <code>jail.local<\/code> file defines settings for specific jails (services). Each jail monitors log files for failed login attempts or suspicious activity and takes the appropriate action (ban or notify).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Common Jail Options<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>enabled<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Determines whether a specific jail is enabled.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>true<\/code>: Enable the jail.<\/li>\n\n\n\n<li><code>false<\/code>: Disable the jail.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>false<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>port<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: The port number or service name that the jail monitors.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li>A specific port number (e.g., <code>22<\/code> for SSH).<\/li>\n\n\n\n<li>A service name (e.g., <code>ssh<\/code>).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: Varies per service.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>logpath<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: Path to the log file the jail should monitor for suspicious activity.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>: Any valid file path (e.g., <code>\/var\/log\/auth.log<\/code>).<\/li>\n\n\n\n<li><strong>Default<\/strong>: Varies per service (e.g., <code>\/var\/log\/auth.log<\/code> for SSH).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>filter<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: The filter to use for matching log entries (each filter corresponds to a service or custom log entry pattern).<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Predefined filters like <code>sshd<\/code>, <code>apache-auth<\/code>.<\/li>\n\n\n\n<li>Custom filter names can also be created.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: Varies by service.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>Example Jail Configurations<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">SSH Jail<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;sshd]\nenabled = true\nport = ssh\nlogpath = \/var\/log\/auth.log\nmaxretry = 5\nfindtime = 600\nbantime = 3600\n\n\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">HTTP Authentication Jail<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;apache-auth]\nenabled = true\nport = http,https\nlogpath = \/var\/log\/apache2\/error.log\nmaxretry = 3\nfindtime = 600\nbantime = 600\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Custom Jail for FTP<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;vsftpd]\nenabled = true\nport = ftp\nlogpath = \/var\/log\/vsftpd.log\nfilter = vsftpd\nmaxretry = 5\nbantime = 7200\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Ban Actions<\/h2>\n\n\n\n<p>Each jail can be configured with a different banning action:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>banaction<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Description<\/strong>: The action Fail2Ban should take when banning an IP.<\/li>\n\n\n\n<li><strong>Possible Values<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>iptables-multiport<\/code>: Uses iptables to ban across multiple ports.<\/li>\n\n\n\n<li><code>firewalld<\/code>: Uses Firewalld for managing the ban.<\/li>\n\n\n\n<li><code>nftables<\/code>: Uses nftables for banning.<\/li>\n\n\n\n<li>Custom actions can also be defined.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Default<\/strong>: <code>iptables-multiport<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Example <code>jail.local<\/code> File<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Here\u2019s a sample <code>jail.local<\/code> configuration that includes multiple jails (services):<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># jail.local\n\n&#91;DEFAULT]\n# Ban settings for all jails\nbantime = 3600       # 1-hour ban\nfindtime = 600       # Must fail 5 times in 10 minutes\nmaxretry = 5         # Ban after 5 failed attempts\nignoreip = 127.0.0.1\/8 ::1\n\n&#91;sshd]\nenabled = true\nport = ssh\nlogpath = \/var\/log\/auth.log\n\n&#91;apache-auth]\nenabled = true\nport = http,https\nlogpath = \/var\/log\/apache2\/error.log\n\n&#91;vsftpd]\nenabled = true\nport = ftp\nlogpath = \/var\/log\/vsftpd.log\nfilter = vsftpd\nbantime = 7200       # Ban for 2 hours\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>By configuring <code>fail2ban.local<\/code> and <code>jail.local<\/code>, you can customize Fail2Ban to meet the specific security requirements of your server. Use the global settings in <code>fail2ban.local<\/code> to define default behaviors like logging, ban duration, and email notifications. In <code>jail.local<\/code>, you can enable and configure jails to monitor different services, such as SSH, web servers, or FTP, with each having its own parameters like log path, ban action, and retry limits.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This documentation explains the key configurable values for fail2ban.local and jail.local in Fail2Ban. These files allow you to customize Fail2Ban behavior, manage which services are protected, and set specific options for each service. Overview of Fail2Ban Configuration Both files are optional and override the default configurations found in fail2ban.conf and jail.conf. Modifications to .local files [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1820,1824,1879,2128],"doc_tag":[],"class_list":["post-15207","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-dedicated-servers","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-07","word_count":851,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cloud servers in Kenya","term_url":"https:\/\/truehost.com\/support\/docs-category\/cloud-servers-in-kenya\/"},{"term_name":"dedicated servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/dedicated-servers\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"},{"term_name":"VPS-Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/vps-servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fail2Ban Configuration Documentation: jail.local and fail2ban.local -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fail2Ban Configuration Documentation: jail.local and fail2ban.local -\" \/>\n<meta property=\"og:description\" content=\"This documentation explains the key configurable values for fail2ban.local and jail.local in Fail2Ban. These files allow you to customize Fail2Ban behavior, manage which services are protected, and set specific options for each service. Overview of Fail2Ban Configuration Both files are optional and override the default configurations found in fail2ban.conf and jail.conf. Modifications to .local files [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-15T13:30:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\\\/\",\"name\":\"Fail2Ban Configuration Documentation: jail.local and fail2ban.local -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"datePublished\":\"2024-10-15T12:53:23+00:00\",\"dateModified\":\"2024-10-15T13:30:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fail2Ban Configuration Documentation: jail.local and fail2ban.local\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fail2Ban Configuration Documentation: jail.local and fail2ban.local -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/","og_locale":"en_US","og_type":"article","og_title":"Fail2Ban Configuration Documentation: jail.local and fail2ban.local -","og_description":"This documentation explains the key configurable values for fail2ban.local and jail.local in Fail2Ban. These files allow you to customize Fail2Ban behavior, manage which services are protected, and set specific options for each service. Overview of Fail2Ban Configuration Both files are optional and override the default configurations found in fail2ban.conf and jail.conf. Modifications to .local files [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/","article_modified_time":"2024-10-15T13:30:57+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/","name":"Fail2Ban Configuration Documentation: jail.local and fail2ban.local -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"datePublished":"2024-10-15T12:53:23+00:00","dateModified":"2024-10-15T13:30:57+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/fail2ban-configuration-documentation-jail-local-and-fail2ban-local\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"Fail2Ban Configuration Documentation: jail.local and fail2ban.local"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/15207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=15207"}],"version-history":[{"count":2,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/15207\/revisions"}],"predecessor-version":[{"id":15212,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/15207\/revisions\/15212"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=15207"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=15207"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=15207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}