* fail2ban <[email protected]> [08-25-20 02:11]:
> Hello,
> How can I protect phpMyAdmin with Fail2ban? I guess phpMyAdmin not have any 
> log file?

your web server log files contain access requests to phpMyAdmin

better to protect phpMyAdmin access to *only* your local machine(s).

I edit:
  /etc/apache2/conf.d/phpMyAdmin.conf

and add:
  <Directory /srv/www/htdocs/phpMyAdmin>
  
  #do not allow from the outside world
  Order Deny,Allow
  Deny from All
  Allow from 192.168.1.0/24 127.0.0.1


all attempts outside my local network get 404's.
    
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo               paka @ IRCnet freenode


_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to