Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fail2Ban Config

Featured Replies

I wonder how fail2ban is really banning ips in unraid with this config.

[npm]

backend = auto

enabled = true

port = 80,443

protocol = all

filter = npm

maxretry = 5

ignoreip = 127.0.0.1/8 192.168.50.0/24

action = iptables-multiport[blocktype=DROP]

bantime = 48h

findtime = 400m

logpath = /var/log/default-host_*.log

/var/log/proxy-host-*.log

banaction = ufw

Is that the right way or do i have to use another config?

Edited by TimTaylor

That looks like a jail. Where is Fail2ban installed on Unraid?

It's not on my install. At least, on my machine it's not in the typical install directory ie: /etc and there are no log files for it either.

  • Author

Its a docker container (crazymax/fail2ban:latest), and it reads the NPM logs.

grafik.png

It also seems to detect something but that jail thing i dont understand...how can the docker set the bans to the real unraid system.
I think that config action = iptables-multiport[blocktype=DROP] and banaction = ufw seems to be the problem.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.