Enable/disable ping on ESET PROTECT Virtual Appliance
Open the terminal and run the following commands (based on your operating system) as root to enable/disable ping on an ESET PROTECT Virtual Appliance machine.
CentOS 7
Ping is disabled by default on CentOS 7. Follow the steps below to enable ping:
1. Call the iptables command:
iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
2. Save iptables:
service iptables save
Now, you can ping the ESET PROTECT Virtual Appliance from other computers in the same subnet.
Rocky Linux 9.3
Ping (ICMP) is enabled by default on Rocky Linux 9.3.
Disable ping (ICMP requests)
1.firewall-cmd --set-target=DROP --zone=public --permanent
2.firewall-cmd --add-icmp-block-inversion --permanent
3.firewall-cmd --reload
Now, you cannot ping the ESET PROTECT Virtual Appliance from other computers in the same subnet.
Enable ping (ICMP requests)
If you have disabled ping, you can enable it by following the steps below:
1.firewall-cmd --set-target=default --zone=public --permanent
2.firewall-cmd --remove-icmp-block-inversion --permanent
3.firewall-cmd --reload
Now, you can ping the ESET PROTECT Virtual Appliance from other computers in the same subnet.