Open julienmalik opened 10 years ago
i really badly described the issue... i'm not able to easily reproduce since my ynh is not anymore in my home LAN.
when doing port forwarding on your home router to your ynh server, if all request coming from the internet are loggued as coming from the router, then the fix you mention simply makes fail2ban inactive.
this needs testing
In other words: if your server is in a LAN with a router on top, and 6 different people failed to login at the same time, everyone is banned for 30 minutes \o/
if your ynh instance is behind a router, fail2ban blocks the whole router.
This means that as soon as one user gets banned, everyone is banned.