mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
add readme
This commit is contained in:
parent
e12f8e64ea
commit
a64d018a9d
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 |
|
Loading…
Reference in a new issue