How can I change RH9 firewall settings after install?
I have finished my install of redhat 9 and realized that I forgot allow ports for Webmin during the firewall config. How can I change this in Redhat 9 after install, as when using the Security Level Config tool, I cannot get to where I can manually enter ports to allow.
-Derek |
I can't remember if RH9 firewall GUI allowed you to enter a user-defined port or not. Certain RH versions only allowed you to select from a list of common ports, but didn't have a user-defined option. You can however use the commandline to open ports in the firewall.
Open a terminal and become root using su - Then use the following command to open the desired ports: iptables -I INPUT -p tcp --dport XX -j ACCEPT **where XX is the desired port number** Then run: service iptables save |
All times are GMT -5. The time now is 12:39 PM. |