How to open iptables ports inside a cluster? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about iptables, centos6, linux, , .
How can I use iptables to open ports 21001-22000 in a cluster, allowing the worker nodes to communicate between them and with the front-end?
The cluster is configured with CentOS 6.3, Rocks 6.1 and iptables 1.4.7.
The following command run as
root will do that:
# iptables -A INPUT -p tcp --dport 21001:22000 -j ACCEPT
iptables(8) manpage for details.