Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Follow these steps to add a rule to iptables to allow incoming connections on port 9998:

Edit iptables:

# vi /etc/sysconfig/iptables

Find the following line in the file:

 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited

Add the following line BEFORE the above line:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9998 -j ACCEPT

Restart iptables:

# service iptables restart
  • No labels