Block Access to isp config

Discussion in 'Installation/Configuration' started by framacomputer, Apr 17, 2012.

  1. framacomputer

    framacomputer New Member

    Hi everybody, I seted up ispconfig to listen on 8080 and the server is behind firwall and nat

    ISPCONFIG - http://88.52.63.25:8080
    PHPMYADMIN - http://88.52.63.25:8080/phpmyadmin

    and the firewall is configured to accept the connection on TCP 8080 only from my office fixed ip address, but if I type on any ip

    http://88.52.63.25/ispconfig
    http://88.52.63.25/phpmyadmin

    i can access!!!!! but i want to block the access on port 80 for /ispconfig and /phpmyadmin and access it only on TCP 8080

    how can i do it?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Run:

    rm -f /var/www/ispconfig

    to remove the symlink in the /var/www folder. Access trogh port 8080 is not affected by deleting that link.
     
  3. framacomputer

    framacomputer New Member

    what about phpmyadmin? is it the same?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    phpmyadmin is a alias and this is configured in the phpmyadmin.conf file in /etc/apache2/conf.d/ If you remove that aliasm you wont be able to reach phpmyadmin under any url incl. port 8080, so you should really consider if you want to fo that. Instead you might want to add a password protection in the phpmyadmin directory or phpmyadmin.conf file for the phpmyadmin directory.
     

Share This Page