How to open and close port in iptables ?
May 15th, 2010
1 Comment
Few of very simple steps 1) Login using root 2) Enter following command to open port in iptables iptables -A INPUT -p tcp --dport 25 -j ACCEPT 3) Enter following command to close port in iptables iptables -A INPUT -p tcp --dport 25 -j DROP 4) Save iptables service iptables save OR...








