ohmyzsh/plugins/firewalld
家鳖大帝 b7904ae548
fix(firewalld): remove ` (default)` from the end of zone string (#11998)
2023-10-24 13:33:04 +02:00
..
README.md Rename some plugin READMEs for consistency 2019-12-27 02:37:27 +01:00
firewalld.plugin.zsh fix(firewalld): remove ` (default)` from the end of zone string (#11998) 2023-10-24 13:33:04 +02:00

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