]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/firewalld/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / firewalld / README.md
1 # FirewallD Plugin
2
3 This plugin adds some aliases and functions for FirewallD using the `firewalld-cmd` command. To use it, add firewalld to your plugins array.
4
5 ```zsh
6 plugins=(... firewalld)
7 ```
8
9 ## Aliases
10
11 | Alias | Command                                    | Description                  |
12 | :---- | :----------------------------------------- | :--------------------------- |
13 | fw    | `sudo firewall-cmd`                        | Shorthand                    |
14 | fwr   | `sudo firewall-cmd --reload`               | Reload current configuration |
15 | fwp   | `sudo firewall-cmd --permanent`            | Create permanent rule        |
16 | fwrp  | `sudo firewall-cmd --runtime-to-permanent` | Save current configuration   |
17
18 ## Functions
19
20 | Function | Description                                                |
21 | :------- | :--------------------------------------------------------- |
22 | fwl      | Lists configuration from all active zones and direct rules |