13d889470e8f09f5bfa15afe4e14d2c2c10e3885

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

ufw: add README (#8227)

Diff

 1diff --git a/plugins/ufw/README.md b/plugins/ufw/README.md
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..ac377cd17390686b1a572aef79b126af80cb99b6
 4--- /dev/null
 5+++ b/plugins/ufw/README.md
 6@@ -0,0 +1,18 @@
 7+# UFW plugin
 8+
 9+This plugin adds completion for managing everybody's favorite Uncomplicated Firewall (UFW),
10+a simple interface for managing iptables. Learn more about [`UFW`](https://wiki.ubuntu.com/UncomplicatedFirewall).
11+
12+To use it, add ufw to the plugins array of your zshrc file:
13+```
14+plugins=(... ufw)
15+```
16+
17+Some of the commands include:
18+
19+* `allow <port>/<optional: protocol>` add an allow rule 
20+* `default` set default policy
21+* `delete <port>/<optional: protocol>` delete RULE
22+* `deny <port>/<optional: protocol>` add deny rule
23+* `disable` disables the firewall
24+* `enable` enables the firewall