Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,23 +1,23 @@
# firewall-cmd
> The firewalld command line client
> The firewalld command line client.
- View the available firewall zones
- View the available firewall zones:
`firewall-cmd --get-active-zones`
- View the rules which are currently applied
- View the rules which are currently applied:
`firewall-cmd --list-all`
- Permanently open the port for a service in the specified zone (like port `443` when in the `public` zone)
- Permanently open the port for a service in the specified zone (like port `443` when in the `public` zone):
`firewall-cmd --permanent --zone={{public}} --add-service={{https}}`
- Permanently close the port for a service in the specified zone (like port `80` when in the `public` zone)
- Permanently close the port for a service in the specified zone (like port `80` when in the `public` zone):
`firewall-cmd --permanent --zone={{public}} --remove-service={{http}}`
- Reload firewalld to force rule changes to take effect
- Reload firewalld to force rule changes to take effect:
`firewall-cmd --reload`