-
Notifications
You must be signed in to change notification settings - Fork 0
You will create your first machine in VirtualBox (or UTM if you can’t use VirtualBox) under specific instructions. Then, at the end of this project, you will be able to set up your own operating system while implementing strict rules.
Aboubakree/Born2beRoot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
$ sudo apt-get install fail2ban $ cd /etc/fail2ban/
$ sudo nano jail.local
--> Add or modify the SSH section to define the rules inside jail.local:
[ssh]
enabled = true
port = ssh # Use the actual SSH port if it's different from default
filter = sshd
logpath = /var/log/auth.log
maxretry = 3 # Number of failed login attempts allowed before banning
bantime = 3600 # Ban duration in seconds (adjust as needed)
$ sudo systemctl restart fail2ban
About
You will create your first machine in VirtualBox (or UTM if you can’t use VirtualBox) under specific instructions. Then, at the end of this project, you will be able to set up your own operating system while implementing strict rules.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published