A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
iptables -I INPUT -p tcp -m tcp --dport 25 -j ACCEPT
I tried this and it still doesn't work. Click here to see the full details to the question I posted using this solution.
sudo apt-get install iptables-persistent
iptables-save | sudo tee /etc/iptables/rules.v4
This doesnt appear to work. It still says connection refuses. Bad part about it is, my port 993 was working now that doesnt appear to work either after installing the iptables persistent