{"id":21884404,"url":"https://github.com/thetechstech/fail2ban","last_synced_at":"2026-05-19T03:44:48.757Z","repository":{"id":90171819,"uuid":"117295675","full_name":"TheTechsTech/fail2ban","owner":"TheTechsTech","description":"Fail2Ban for docker environment. ","archived":false,"fork":false,"pushed_at":"2018-01-15T01:56:59.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-26T19:44:00.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheTechsTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-12T22:56:08.000Z","updated_at":"2018-01-12T22:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"d66fac2f-2690-40a6-8c1b-757d45451361","html_url":"https://github.com/TheTechsTech/fail2ban","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTechsTech%2Ffail2ban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTechsTech%2Ffail2ban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTechsTech%2Ffail2ban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTechsTech%2Ffail2ban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheTechsTech","download_url":"https://codeload.github.com/TheTechsTech/fail2ban/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244892649,"owners_count":20527480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T10:13:53.871Z","updated_at":"2026-05-19T03:44:48.694Z","avatar_url":"https://github.com/TheTechsTech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fail2ban for Docker\n\nFail2Ban for docker environment. \nJust mounting `-v /var/log:/var/log and -v /etc/hosts.deny:/etc/hosts.deny` in all `docker run` containers can protect your expose ports from abuse.\n\nThis build has Webmin http://www.webmin.com/ installed to easy update underlining image and manage fail2ban. \nIt can be disable by passing `–e WEBMINPORT=off`\n\n### Usage\nTo run it:\n```\n$ docker run --name fail2ban \\\n-v /var/log:/var/log \\\n-v /etc/hosts.deny:/etc/hosts.deny \\\n-v fail2ban-etc:/etc/ \\\n--net=host --restart=always \\\n--cap-add=NET_ADMIN \\\n--hostname=server.fail2ban.host \\\n-e WEBMINPORT=19999 \\\n-d technoexpressnet/fail2ban\n```\n\nThis build also assume reverse proxy is setup. \nThis build setup to use https://github.com/adi90x/rancher-active-proxy\n```\n-v /nginx/rancher-active-proxy/letsencrypt/archive/server.fail2ban.host:/etc/letsencrypt/archive/server.fail2ban.host \\\n-l rap.host=server.fail2ban.host \\\n-l rap.le_host=server.fail2ban.host \\\n-l rap.https_method=noredirect \\\n```\n\n### Docker Hub\nhttps://hub.docker.com/r/technoexpress/fail2ban/builds/ automatically builds the latest changes into images which can easily be pulled and ran with a simple `docker run` command. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetechstech%2Ffail2ban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthetechstech%2Ffail2ban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetechstech%2Ffail2ban/lists"}