We are going to make a simple brute attack and block it with fail2ban to protected our server.
Simulate load baiancer with multi networks
cd router
docker-compose up -d
cd ..
cd attacker
go run main.go 1000
atacante.app
nginx
fail2banconfig
server.app
User: abcd
Password: 1234
https://easyengine.io/tutorials/nginx/fail2ban/
https://www.nginx.com/blog/dynamic-ip-blacklisting-with-nginx-plus-and-fail2ban/
https://www.ctrl.blog/entry/fail2ban-http403
https://www.digitalocean.com/community/tutorials/how-to-protect-an-nginx-server-with-fail2ban-on-ubuntu-14-04