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

Compare with Current View Page History

Version 1 Next »

Follow these steps to add a rule to iptables to allow incoming connections on port 9998:\n
\n
Edit iptables: # vi /etc/sysconfig/iptables\n
\n
Find the following line in the file:\n
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited\n
\n
Add the following line BEFORE the above line:\n
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9998 -j ACCEPT\n
\n
Restart iptables: # service iptables restart
  • No labels