From 00ab4dec57a55d302127ea29ee5d9132c4054445 Mon Sep 17 00:00:00 2001 From: kalebo Date: Thu, 5 Oct 2017 15:18:50 -0600 Subject: [PATCH 1/2] Added an example of the comment arg --- pages/linux/ufw.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/ufw.md b/pages/linux/ufw.md index e63b1fa05e..1b17945c34 100644 --- a/pages/linux/ufw.md +++ b/pages/linux/ufw.md @@ -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 and an identifing comment: -`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: From 2cb67bba3e6f2df0bfbab804002f3833439dbe8f Mon Sep 17 00:00:00 2001 From: kalebo Date: Fri, 6 Oct 2017 08:37:07 -0600 Subject: [PATCH 2/2] Reworded and fixed comment --- pages/linux/ufw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/ufw.md b/pages/linux/ufw.md index 1b17945c34..72532088df 100644 --- a/pages/linux/ufw.md +++ b/pages/linux/ufw.md @@ -15,7 +15,7 @@ `ufw status numbered` -- Allow incoming traffic on port 5432 on this host and an identifing comment: +- Allow incoming traffic on port 5432 on this host with a comment identifying the service: `ufw allow {{5432}} comment {{"Service"}}`