How can I configure fail2ban on a GCP instance?

When I look at docs for Digital Ocean:

The maxretry variable sets the number of tries a client has to authenticate within a window of time defined by findtime, before being banned. With the default settings, the fail2ban service will ban a client that unsuccessfully attempts to log in 3 times within a 10 minute window.

destemail = root@localhost
sendername = Fail2Ban
mta = sendmail


However, google blocks port 25:

https://cloud.google.com/compute/docs/tutorials/sending-mail/



Seems like a chicken-or-the-egg problem.




How do others solve this?


thanks,

Thufir
||
------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to