1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +00:00
ohmyzsh/plugins/firewalld
2016-09-08 00:18:26 +01:00
..
firewalld.plugin.zsh sudo firewall-cmd calls 2016-09-08 00:05:55 +01:00
readme.md add readme 2016-09-08 00:18:26 +01:00

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