![]() # firewall-cmd -permanent -zone=public -add-rich-rule="rule family="ipv4" source address="192.168.199.0/16" port protocol="tcp" port="2050" accept" In this example we restrict SSH and e-mail to internal networks only. # firewall-cmd -zone=public -add-port=993/tcp -permanent # firewall-cmd -zone=public -add-port=443/tcp -permanent ![]() # firewall-cmd -zone=public -add-port=80/tcp -permanent # firewall-cmd -zone=public -add-port=1352/tcp -permanent Use the FirewallD following commands to set-up open the ports needed on Red Hat / CentOS:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |