diff options
| author | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
|---|---|---|
| committer | Pedro Pereira <pedro.hr.pereira@proton.me> | 2026-10-16 15:19:13 -0300 |
| commit | 1eb69e9a795cc19450178c07d8d382622bc7ad70 (patch) | |
| tree | b6bc60605044fe929986f31b3b6bf4fee9b56e14 /.config/zsh/oh-my-zsh/plugins/firewalld/README.md | |
first commit
Diffstat (limited to '.config/zsh/oh-my-zsh/plugins/firewalld/README.md')
| -rw-r--r-- | .config/zsh/oh-my-zsh/plugins/firewalld/README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/zsh/oh-my-zsh/plugins/firewalld/README.md b/.config/zsh/oh-my-zsh/plugins/firewalld/README.md new file mode 100644 index 0000000..8b5bc74 --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/firewalld/README.md @@ -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. + +```zsh +plugins=(... firewalld) +``` + +## Aliases + +| Alias | Command | Description | +| :---- | :----------------------------------------- | :--------------------------- | +| fw | `sudo firewall-cmd` | Shorthand | +| fwr | `sudo firewall-cmd --reload` | Reload current configuration | +| fwp | `sudo firewall-cmd --permanent` | Create permanent rule | +| fwrp | `sudo firewall-cmd --runtime-to-permanent` | Save current configuration | + +## Functions + +| Function | Description | +| :------- | :--------------------------------------------------------- | +| fwl | Lists configuration from all active zones and direct rules | |
