From af120ab348f2e1a5a39dec035ed9dcf84189a64e Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 3 Oct 2022 21:42:20 +0530 Subject: dotfiles --- zsh/oh-my-zsh/plugins/firewalld/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 zsh/oh-my-zsh/plugins/firewalld/README.md (limited to 'zsh/oh-my-zsh/plugins/firewalld/README.md') diff --git a/zsh/oh-my-zsh/plugins/firewalld/README.md b/zsh/oh-my-zsh/plugins/firewalld/README.md new file mode 100644 index 0000000..8b5bc74 --- /dev/null +++ b/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 | -- cgit v1.2.3-59-g8ed1b