Iptables Allow Apache Access
Posted:
Monday, December 30th, 2013Last modified:
Sunday, March 29th, 2015Overview
How to enable access to Apache's standard ports 80 and 443 in iptables.
Edit sysconfig
vim /etc/sysconfig/iptables
Add or update the following lines.
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT
Restart iptables
service iptables restart
Available Wiki Topics
The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.