INNER CODE UNIT · Shell

logpath

cipi-sh/cipi · setup.sh:579

logpath = /var/log/auth.log
maxretry = 3

[recidive]
enabled = true
logpath = /var/log/fail2ban.log
bantime = 604800
findtime = 86400
maxretry = 3
EOF

    systemctl restart fail2ban
    systemctl enable fail2ban

    ufw default deny incoming &>/dev/null
    ufw default allow outgoing &>/dev/null
    ufw allow 22/tcp &>/dev/null
    ufw allow 80/tcp &>/dev/null

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…