mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 19:17:57 +01:00
3233bb7aab
Update ufw.md Update ufw.md Update ufw.md Update ufw.md Update ufw.md Update ufw.md
24 lines
323 B
Markdown
24 lines
323 B
Markdown
# ufw
|
|
|
|
> Uncomplicated Firewall.
|
|
> Frontend for iptables aiming to make configuration of a firewall easier.
|
|
|
|
- Enable ufw:
|
|
|
|
`ufw enable`
|
|
|
|
- Disable ufw:
|
|
|
|
`ufw disable`
|
|
|
|
- Add ufw allow rule:
|
|
|
|
`ufw allow {{port}} {{service_name}}`
|
|
|
|
- Add ufw deny rule:
|
|
|
|
`ufw deny {{port}} {{service_name}}`
|
|
|
|
- Show ufw rules:
|
|
|
|
`ufw status`
|