my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
963 B

3 years ago
  1. # FirewallD Plugin
  2. This plugin adds some aliases and functions for FirewallD using the `firewalld-cmd` command. To use it, add firewalld to your plugins array.
  3. ```zsh
  4. plugins=(... firewalld)
  5. ```
  6. ## Aliases
  7. | Alias | Command | Description |
  8. | :---- | :----------------------------------------- | :--------------------------- |
  9. | fw | `sudo firewall-cmd` | Shorthand |
  10. | fwr | `sudo firewall-cmd --reload` | Reload current configuration |
  11. | fwp | `sudo firewall-cmd --permanent` | Create permanent rule |
  12. | fwrp | `sudo firewall-cmd --runtime-to-permanent` | Save current configuration |
  13. ## Functions
  14. | Function | Description |
  15. | :------- | :--------------------------------------------------------- |
  16. | fwl | Lists configuration from all active zones and direct rules |