mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-28 19:32:50 +03:00
commit
fed6542a0e
24
pages/linux/ufw.md
Normal file
24
pages/linux/ufw.md
Normal file
@ -0,0 +1,24 @@
|
||||
# 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`
|
Loading…
Reference in New Issue
Block a user