You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically this is for self-host user who needs fail2ban to ban some noisy scanning.
Modify them to fit your needs.
Docker Compose
Here is an example of a docker-compose.yaml file 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 UID 1000 for these files.
client_ip=157.66.34.63 message="Password auth as <root for >" session=510736a0-05e8-4449-bde4-4eb943f62fab timestamp=2025-08-06T07:26:21.634102738+00:00
client_ip=157.66.34.63 error="user root not found" message="Failed to verify credentials" session=510736a0-05e8-4449-bde4-4eb943f62fab timestamp=2025-08-06T07:26:21.636321725+00:00
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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.
Beta Was this translation helpful? Give feedback.
All reactions