There was an error while loading. Please reload this page.
1 parent 76fa062 commit 7fcd2f1Copy full SHA for 7fcd2f1
2 files changed
pages/linux/ufw-default.md
@@ -0,0 +1,16 @@
1
+# ufw default
2
+
3
+> Change the default policy for traffic based on direction.
4
+> More information: <https://manned.org/ufw>.
5
6
+- Allow traffic going a certain direction:
7
8
+`sudo ufw default allow {{incoming|outgoing|routed}}`
9
10
+- Deny traffic going a certain direction:
11
12
+`sudo ufw default deny {{incoming|outgoing|routed}}`
13
14
+- Reject traffic going a certain direction:
15
16
+`sudo ufw default reject {{incoming|outgoing|routed}}`
pages/linux/ufw-delete.md
@@ -0,0 +1,12 @@
+# ufw delete
+> Delete firewall rules.
+- Delete an exact matching rule:
+`sudo ufw delete {{rule}}`
+- Delete a rule by its rule number:
+`sudo ufw delete {{number}}`
0 commit comments