Marc Cornellà 67b5bfaaa3 Rename some plugin READMEs for consistency 4 年之前
..
README.md 67b5bfaaa3 Rename some plugin READMEs for consistency 4 年之前
firewalld.plugin.zsh 2b6434e879 Fixed `fwl` function in `firewalld` plugin when `sources` used (#7011) 6 年之前

README.md

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 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