By default, HTTP and HTTPS are enabled in IBM® Spectrum Cluster Foundation Community
Edition.
About this task
To change the default and keep services visible only to
the private network, edit the /etc/sysconfig/iptables file.
Procedure
- On RHEL:
- In /etc/sysconfig/iptables,
find and comment out the following lines:
-A INPUT -i ethl -m state --state NEW -p tcp --dport 80 -j ACCEPT
-A INPUT -i ethl -m state --state NEW -p tcp --dport 443 -j ACCEPT
- Restart iptables:
service iptables restart
- On SLES:
- Edit the /etc/sysconfig/SuSEfirewall2 file,
and enable port 8443 for FW_SERVICES_EXT_TCP and FW_SERVICES_EXT_UDP.
- Restart the firewall by running:
/sbin/SuSEfirewall2 stop
/sbin/SuSEfirewall2 start