1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-02 16:53:55 +02:00

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
commit 8cc04a9730

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: