Skip to content

Commit

Permalink
ufw: Added an example of rule comments (tldr-pages#1519)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl authored Oct 7, 2017
2 parents 5291f53 + 2cb67bb commit 8cc04a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/linux/ufw.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 8cc04a9

Please sign in to comment.