ufw: Add another example
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user