Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to hide some IP addresses from the list in Tools & Settings > IP Addresses.
Answer
Make sure no subscriptions are assigned to IP address
If the IP to be hidden is the main (primary) IP, switch the main IP to another IP address in the Plesk database
- Install Panel.ini editor extension to manage Plesk settings: Home > Extensions
-
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" - Reread IP addresses at Plesk > Tools & Settings > IP Addresses > Reread IP.
Make sure no subscriptions are assigned to IP address
If the IP to be hidden is the main (primary) IP, switch the main IP to another IP address in the Plesk database
- Connect to the server via RDP
- Open file
%plesk_dir%admin\conf\panel.ini. If the file does not exist copy it from%plesk_dir%admin\conf\panel.ini.sample -
Add the following lines at the end of the file:
CONFIG_TEXT: [ip]
blacklist="<IP addresses to be hidden>" -
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
Comments
Please sign in to leave a comment.