Freedom to Write
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Tweets by @sriramperumalla
No comments:
Post a Comment