How to open port 80/http and 443/https on Fedora Core 10 at Slicehost
Friday, February 6th, 2009Login as root
[code]
# vi /etc/sysconfig/iptables
[/code]
Add these lines
[code]
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
[/code]
Restart iptables
[code]
# /etc/init.d/iptables restart
[/code]
Related:
http://www.cyberciti.biz/faq/linux-iptables-firewall-open-port-80/
To become a Slicehost customer please go to: slicehost.com
