Tuesday

SilkPerformer - Opening stopping firewall on unix

For completely stopping the firewall, use these steps.
• Login as root
• On prompt give this command “service iptables stop”
• To check the status of firewall use command below
o service iptables status
o It normally gives output as follows “Firewall is stopped”

For opening specific ports run following commands as root
• Edit the iptables as follows (Note the port number decision may vary)
vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4155 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9443 -j ACCEPT
• Now restart the iptables as follows
/etc/init.d/iptables restart

No comments:

Post a Comment