Opening ports using iptables

To open a port by using iptables you can use the iptables command, assume for example that you want to open port 25, you have to issue on the shell the following command iptables -I INPUT -p tcp –dport 25 -j ACCEPT where -I instruct to not add the rulle after the deny all rule […]