Skip to content

Fail2Ban Community Container: Protecting Host & Persisting IP Whitelist? #6057

Answered by szaimen
nextcci asked this question in Questions
Discussion options

You must be logged in to vote

Hi,

  • How can I also protect the Ubuntu host with the fail2ban container?

You cannot. To do that, you need to enable fail2ban on your host OS and enable the ssh ruleset. The Community Container only protects the in the readme mentioned services - mostly services bundled in AIO or its CC.

How can I exclude my IP from fail2ban and ensure that this setting persists after a container restart?

Is that a private ip-address? If so, I just added the private ip-ranges to the ignore list inside the container and also created a new image. Please update the container via the AIO interface and check if that resolves things for you. Referincing szaimen/aio-fail2ban#37

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nextcci
Comment options

@szaimen
Comment options

Answer selected by szaimen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants