Firewalld: Difference between revisions
From DWIKI
mNo edit summary |
m (→FAQ) |
||
Line 5: | Line 5: | ||
=FAQ= | =FAQ= | ||
==add service== | |||
firewall-cmd --zone=public --add-service=https | |||
firewall-cmd --permanent --zone=public --add-service=https | |||
==add port== | |||
firewall-cmd --zone=public --add-port=5000/tcp | |||
firewall-cmd --permanent --zone=public --add-port=5000/tcp |
Revision as of 13:07, 25 July 2017
Redhat firewall interface
Links
FAQ
add service
firewall-cmd --zone=public --add-service=https firewall-cmd --permanent --zone=public --add-service=https
add port
firewall-cmd --zone=public --add-port=5000/tcp firewall-cmd --permanent --zone=public --add-port=5000/tcp