CentOS 7 firewall-cmd open a port permanently

    [root@centos7 ~]# firewall-cmd --permanent --add-port=100/tcp
    success
    [root@centos7 ~]# firewall-cmd --reload
    success

From how-to-open-a-port-in-centos-7-with-firewalld

Comments

  1. Markdown is allowed. HTML tags allowed: <strong>, <em>, <blockquote>, <code>, <pre>, <a>.