From a64d018a9d483e0535d6d77d10c9ff2771d0cb41 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 8 Sep 2016 00:18:26 +0100 Subject: [PATCH] add readme --- plugins/firewalld/readme.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/plugins/firewalld/readme.md b/plugins/firewalld/readme.md index e69de29b..611ad6de 100644 --- a/plugins/firewalld/readme.md +++ b/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. + +``` +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 |