| United States-English |
|
|
|
![]() |
HP Open Source Middleware Stacks Blueprint:: Web Server on HP ProLiant and HP Integrity Servers with Red Hat Enterprise Linux Version 5Appendix B: Frequently Asked Questions |
|
Q: How do I open specific ports without disabling the firewall? A: RHEL by default prevents external systems from connecting to any of the reserved port numbers (0 to 1023). To open a specific port, update the firewall rules by opening the specified port number by using the following commands: For an ipchains-based firewall: # ipchains -I input -s 0/0 -d 0/0 <port number> -p tcp \ -y -j ACCEPT # service ipchains save # service ipchains restart Example:
For an iptables-based firewall: # iptables -I INPUT -s 0/0 -d 0/0 -p tcp \ --dport <port number> --syn -j ACCEPT # service iptables save # service iptables restart Example:
Q: How do I disable SElinux settings? A: Enter the following command to open the SElinux configuration dialog and disable the SElinux: # system-config-securitylevel
Q: How do I disable firewall settings? A: By default, RHEL has a firewall enabled. This prevents external systems from accessing ports below 1024. Run the following command to open the firewall configuration dialog and disable the firewall: # system-config-securitylevel
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||