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:
commit
8cc04a9730
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
`ufw status numbered`
|
`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:
|
- Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue