How to unblock port 25 in IpTables?

  • Posted September 20, 2013


Can someone please tell me how i can unblock port 25 in IpTables ?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

<pre>iptables -I INPUT -p tcp -m tcp --dport 25 -j ACCEPT</pre>

Thank you !

Run these commands: <br> <br><pre>sudo apt-get install iptables-persistent <br>iptables-save | sudo tee /etc/iptables/rules.v4</pre>

Im using ubuntu

Not by default. What OS are you using?

Thank you. Will that also save, so when i reboot it remembers it ?