To list existing iptable config:
sudo iptables -L
To open ports, for example, 80, 8443 and 8080:
$ sudo firewall-cmd --zone=public --add-port=80/tcp --permanent success $ sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent success $ sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent success
Reload config with:
sudo firewall-cmd --reload
Done.