iptables_firewall
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| iptables_firewall [2022/07/19 22:30] – Updated formatting admin | iptables_firewall [2022/07/22 23:14] (current) – admin | ||
|---|---|---|---|
| Line 244: | Line 244: | ||
| < | < | ||
| | | ||
| - | < | + | #configuration file is in / |
| - | < | + | #fail and ban logs are saved in / |
| </ | </ | ||
| Line 261: | Line 261: | ||
| http:// | http:// | ||
| http:// | http:// | ||
| + | |||
| + | ==== fail2ban blocking apache2 htaccess attempts ==== | ||
| + | Working on Debian Bullseye | ||
| + | < | ||
| + | vi / | ||
| + | #below the entry for ssh, enter | ||
| + | |||
| + | [apache-auth] | ||
| + | enabled = true | ||
| + | port = http,https | ||
| + | logpath | ||
| + | |||
| + | / | ||
| + | |||
| + | Make incorrect attempts. Monitor using " | ||
| + | </ | ||
| + | |||
| ===== Firewall on Centos / RH ===== | ===== Firewall on Centos / RH ===== | ||
iptables_firewall.1658269809.txt.gz · Last modified: 2022/07/19 22:30 by admin