ufw: refresh page (#23095)

* ufw: refresh page

* ufw: fix typo

* Update pages/linux/ufw.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/linux/ufw.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/linux/ufw.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/linux/ufw.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/linux/ufw.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/linux/ufw.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

---------

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
CleanMachine1
2026-07-09 05:01:36 +01:00
committed by GitHub
parent 65410b4e0e
commit c20755a643
+7 -7
View File
@@ -2,15 +2,11 @@
> Uncomplicated Firewall.
> Frontend for `iptables` aiming to make configuration of a firewall easier.
> More information: <https://wiki.ubuntu.com/UncomplicatedFirewall>.
> More information: <https://manned.org/ufw>.
- Enable `ufw`:
- Enable/Disable `ufw`:
`sudo ufw enable`
- Disable `ufw`:
`sudo ufw disable`
`sudo ufw {{enable|disable}}`
- Show `ufw` rules, along with their numbers:
@@ -24,6 +20,10 @@
`sudo ufw allow proto tcp from 192.168.0.4 to any port 22`
- Allow traffic from any IP on the 192.168.0/24 subnet on this host, through port 53, only on the eth0 interface:
`sudo ufw allow in on eth0 from 192.168.0.0/24 to any port 53`
- Deny traffic on port 80 on this host:
`sudo ufw deny 80`