I'm new with CentOS and iptables and I've difficulties to open some port.
To open port 8443 and 8447 (Plesk admin and plesk autoinstaller) I've use the following command:
Code: Select all
root@plesk ~ # iptables -A INPUT -p tcp -m tcp --dport 8443 -j ACCEPT
Then I've tried to open 80 and 443. So I've use:
Code: Select all
root@plesk ~ # iptables -A INPUT -p tcp -m tcp --dport 80-j ACCEPT
What I'm doing wrong?
PS: FirewallD is not running
Version: CentOS Linux release 7.3.1611 (Core)