From 265e6ad087722a82c2b01756d050371afd9f247f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 2 Sep 2013 19:50:08 +0200 Subject: [PATCH] +reformat Signed-off-by: Nico Schottelius --- ...-independent-powered-by-cdist-sponsored-by-panter.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blog/iptables-distribution-independent-powered-by-cdist-sponsored-by-panter.mdwn b/blog/iptables-distribution-independent-powered-by-cdist-sponsored-by-panter.mdwn index 551e1635..e57141e9 100644 --- a/blog/iptables-distribution-independent-powered-by-cdist-sponsored-by-panter.mdwn +++ b/blog/iptables-distribution-independent-powered-by-cdist-sponsored-by-panter.mdwn @@ -25,13 +25,13 @@ Then create the directory ~/.cdist/manifest and then the file case "$__target_host" in insert-your-target-host-name-here) - __iptables_rule policy-in --rule "-P INPUT DROP" + __iptables_rule policy-in --rule "-P INPUT DROP" __iptables_rule policy-out --rule "-P OUTPUT ACCEPT" __iptables_rule policy-fwd --rule "-P FORWARD DROP" - __iptables_rule established --rule "-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT" - __iptables_rule http --rule "-A INPUT -p tcp --dport 80 -j ACCEPT" - __iptables_rule ssh --rule "-A INPUT -p tcp --dport 80 -j ACCEPT" + __iptables_rule established --rule "-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT" + __iptables_rule http --rule "-A INPUT -p tcp --dport 80 -j ACCEPT" + __iptables_rule ssh --rule "-A INPUT -p tcp --dport 80 -j ACCEPT" ;; esac