A fail2ban try.
#1452
Replies: 1 comment
|
update: for using with docker network. you needs a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Note
Basically this is for self-host user who needs fail2ban to ban some noisy scanning.
Modify them to fit your needs.
Docker ComposeHere is an example of a
docker-compose.yamlfile to create the stack. Note that due to the latest change, there may be some file permission problems with the socket and log files (because I'm using Docker, and Podman may not meet these requirements). You need to grant permissions for UID1000for these files.warpgate.yamljust your config, but add these lines.
vector.tomlvector config, change to what you like
What your log would looks like
fail2ban configs
filter
jail
Now you can ban some script kiddles.
All reactions