ufw: Added an example of rule comments (#1519)

This commit is contained in:
Starbeamrainbowlabs
2017-10-07 22:26:04 +01:00
committed by GitHub

View File

@@ -15,9 +15,9 @@
`ufw status numbered`
- Allow incoming traffic on port 5432 on this host:
- Allow incoming traffic on port 5432 on this host with a comment identifying the service:
`ufw allow {{5432}}`
`ufw allow {{5432}} comment {{"Service"}}`
- Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22: