-
Notifications
You must be signed in to change notification settings - Fork 12
fail2ban
mzfr edited this page May 23, 2021
·
3 revisions
To setup fail2ban on ubuntu for the SSH port we do the following:
apt install fail2ban
- Allow SSH through ufw
ufw allow ssh
ufw enable
-
Move the default config file:
cp /etc/fail2ban/fail2ban.conf /etc/fail2ban/fail2ban.local
-
Now we can start editing the local copy we made. You can choose not to edit it since the default config is also pretty solid.
-
Now we can configure the
jail
setting.cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
- now make changes to the local jail file as desired.
- Capture the flag(CTF)
- Making a boot2root VM
- BugBounty notes for Android
- BugBounty notes for WEB
- Starting with (n)vim
- Bluetooth(nothing big)
- Hacking boot2root/ OSCP notes