1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 04:15:25 +02:00

ufw: Add another example

This commit is contained in:
Danilo Bargen 2016-05-17 13:31:03 +02:00
parent d2de67f45b
commit 72ce264ee7

View file

@ -11,14 +11,18 @@
`ufw disable`
- Show ufw rules:
`ufw status`
- Add ufw allow rule:
`ufw allow {{port}} {{service_name}}`
- Example: Allow access to port 1337 from IP 1.2.3.4 using udp:
`ufw allow from 1.2.3.4 to any port 1337 proto udp`
- Add ufw deny rule:
`ufw deny {{port}} {{service_name}}`
- Show ufw rules:
`ufw status`