Skip to content

Commit c20755a

Browse files
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>
1 parent 65410b4 commit c20755a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pages/linux/ufw.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
> Uncomplicated Firewall.
44
> Frontend for `iptables` aiming to make configuration of a firewall easier.
5-
> More information: <https://wiki.ubuntu.com/UncomplicatedFirewall>.
5+
> More information: <https://manned.org/ufw>.
66
7-
- Enable `ufw`:
7+
- Enable/Disable `ufw`:
88

9-
`sudo ufw enable`
10-
11-
- Disable `ufw`:
12-
13-
`sudo ufw disable`
9+
`sudo ufw {{enable|disable}}`
1410

1511
- Show `ufw` rules, along with their numbers:
1612

@@ -24,6 +20,10 @@
2420

2521
`sudo ufw allow proto tcp from 192.168.0.4 to any port 22`
2622

23+
- Allow traffic from any IP on the 192.168.0/24 subnet on this host, through port 53, only on the eth0 interface:
24+
25+
`sudo ufw allow in on eth0 from 192.168.0.0/24 to any port 53`
26+
2727
- Deny traffic on port 80 on this host:
2828

2929
`sudo ufw deny 80`

0 commit comments

Comments
 (0)