PHPMyAdmin - Block from WAN, only to be accessed by internal 192.

Discussion in 'General' started by R2000, Mar 6, 2022.

  1. R2000

    R2000 New Member

    Hi,
    Recently i had a successful breach to phpmyadmin from outside my LAN hosted on one of my domains powered by ISPConfig.
    All domains i host all have access to the login page of phpmyadmin from anywhere outside of the LAN.
    How do i stop this?
    Can i specify specific MAC or IP Addresses to only be able to access *.domain/phpmyadmin, if so, what is the rule and which files need to be modified?
    or
    Redirect any request that requests: Http://anydomain.com/phpmyadmin to Http://anydomain.com/404-Error.html
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Internet Search Engines with
    Code:
    site:howtoforge.com restrict access to PHPMYADMIN
    seems to work.
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

Share This Page