Guardia is a security tool that automatically creates Linux firewall rules to block unauthorized SSH access attempts, protecting against brute force attacks.
Create Linux Firewall Rule Related to SSH Automatically against BruteForce
Guardia is designed for Linux users who want to enhance their system's security by automatically managing firewall rules in response to suspicious SSH login attempts. It is particularly useful for system administrators and users who frequently expose their machines to the internet.
Ensure that your firewall is properly configured to allow guardia to manage rules effectively. Regularly check logs to monitor for any blocked IPs.
Clone the repository using: git clone https://github.com/luna-negra/guardia
Install the package for CentOS using: rpm -i guardia-0.1.2_beta-1.el8.x86_64.rpm
Install the package for Ubuntu using: dpkg -i guardia-0.1.2_beta-1.amd64.deb
Check the status of the guardia service with: systemctl status guardia
Enable the guardia service with: systemctl is-enabled guardiasystemctl start guardia
Starts the guardia service daemon.
systemctl status guardia
Checks the current status of the guardia service.
systemctl is-enabled guardia
Checks if the guardia service is enabled to start on boot.