Thursday, 28 January 2010

Open http port without stopping iptables

How can i open http port:80 to publish my webpage with out disabling iptables in ubuntu?

sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT

PS: Stopping iptables will open all the ports of the system which is not recommended.

No comments:

Post a Comment

Tweets by @sriramperumalla