From ad8b796c98f8950308c31b558385cafcf038202e Mon Sep 17 00:00:00 2001 From: Yassine Imounachen Date: Mon, 11 Dec 2017 15:36:15 +0000 Subject: [PATCH] fix capitalisation of option "-p" with small "p" is for protocol --- pages/linux/iptables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/iptables.md b/pages/linux/iptables.md index fc589558b..c31195631 100644 --- a/pages/linux/iptables.md +++ b/pages/linux/iptables.md @@ -8,7 +8,7 @@ - Set chain policy rule: -`sudo iptables -p {{chain}} {{rule}}` +`sudo iptables -P {{chain}} {{rule}}` - Append rule to chain policy for IP: