02/12/2016
[root@bee ~] # iptables -A INPUT -p tcp --dports 80 -j ACCEPT
[root@bee ~] #
[root@bee ~] # iptables -A INPUT -p tcp --dports 433 -j ACCEPT
[root@bee ~] #
[root@bee ~] # iptables -A INPUT -j REJECT --reject-with icmp-host-prohibited
This command will help you access with (http & https ) but other will strictly prohibited.
(sample security of network).