I need to open port 587, but I can't
Posted: 31 Jan 2020, 14:48
Hello,
I'm using WordOps 3.11.2, and I can't open port 587.
I have a site in Wordpress that uses Contact Form, and when I disable the firewall (csf -f), the contact form works fine.
But when I enable firewall, contact form stop working.
I change the settings in CSF.CONF, but nothing works.
See here: https://community.wordops.net/assets/fi ... onf-01.png
I tried these commands:
sudo iptables -A INPUT -p tcp --dport 587 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -p tcp --sport 587 -m conntrack --ctstate ESTABLISHED -j ACCEPT
And also this one: sudo iptables -A OUTPUT -p tcp --dport 587 -j ACCEPT
Does anyone know what happens?
Regards,
Patrick
I'm using WordOps 3.11.2, and I can't open port 587.
I have a site in Wordpress that uses Contact Form, and when I disable the firewall (csf -f), the contact form works fine.
But when I enable firewall, contact form stop working.
I change the settings in CSF.CONF, but nothing works.
See here: https://community.wordops.net/assets/fi ... onf-01.png
I tried these commands:
sudo iptables -A INPUT -p tcp --dport 587 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -p tcp --sport 587 -m conntrack --ctstate ESTABLISHED -j ACCEPT
And also this one: sudo iptables -A OUTPUT -p tcp --dport 587 -j ACCEPT
Does anyone know what happens?
Regards,
Patrick