Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
a64d018a
Commit
a64d018a
authored
Sep 08, 2016
by
Rob Ede
Browse files
add readme
parent
e12f8e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/firewalld/readme.md
View file @
a64d018a
# FirewallD Plugin
This plugin adds some aliases and functions for FirewallD using the
`firewalld-cmd`
command. To use it, add firewalld to your plugins array.
```
plugins=(... firewalld)
```
## Aliases
| Alias | Command | Description |
| :---- | :----------------------------------- | :--------------------------- |
| fw |
`firewall-cmd`
| Shorthand |
| fwr |
`firewall-cmd --reload`
| Reload current configuration |
| fwp |
`firewall-cmd --permanent`
| Create permanent rule |
| fwrp |
`firewall-cmd --runtime-to-permanent`
| Save current configuration |
## Functions
| Function | Description |
| :------- | :--------------------------------------------------------- |
| fwl | Lists configuration from all active zones and direct rules |
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment