Articles in this section

How to hide IP addresses in Plesk?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to hide some IP addresses from the list in Tools & Settings > IP Addresses.

Answer

  1. Make sure no subscriptions are assigned to IP address

  2. If the IP to be hidden is the main (primary) IP, switch the main IP to another IP address in the Plesk database

  3. Install Panel.ini editor extension to manage Plesk settings: Home > Extensions
  4. Open extension and under the "Editor" tab add the following lines at the end of the file:

    CONFIG_TEXT: [ip]
    blacklist="<IP addresses to be hidden>"

    Where <IP addresses to be hidden> is a comma-delimited list of IP addresses you want to hide. You can hide both IPv4 and IPv6 IP addresses. For example:

    CONFIG_TEXT: [ip]
    blacklist="192.168.1.10, 2002:5bcc:18fd:c:f482:d057:9ccf:993D"

  5. Reread IP addresses at Plesk > Tools & Settings > IP Addresses > Reread IP.
Command line + RDP method
  1. Make sure no subscriptions are assigned to IP address

  2. If the IP to be hidden is the main (primary) IP, switch the main IP to another IP address in the Plesk database

  3. Connect to the server via RDP
  4. Open file %plesk_dir%admin\conf\panel.ini. If the file does not exist copy it from %plesk_dir%admin\conf\panel.ini.sample
  5. Add the following lines at the end of the file:

    CONFIG_TEXT: [ip]
    blacklist="<IP addresses to be hidden>"

  6. Reread IP addresses by running the command in CMD:

    C:\> plesk bin ipmanage --reread

For Linux: To hide IP addresses that are related to eth1, eth2, eth<number> network interfaces add the line below at the end in Plesk > My Extensions > Panel.ini editor > Editor:

CONFIG_TEXT: [networkInterfaces]
blacklist=eth 

Additional Information

IP Addresses Management

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.