From 1348da8a5e7cfa3ec953be1d8e3b4feb129641b7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 25 May 2014 09:52:55 +0300 Subject: [PATCH] ssh == port 22 Signed-off-by: Nico Schottelius --- ...bution-independent-powered-by-cdist-sponsored-by-panter.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e57141e9..261f7614 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 @@ -31,7 +31,7 @@ Then create the directory ~/.cdist/manifest and then the file __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 ssh --rule "-A INPUT -p tcp --dport 22 -j ACCEPT" ;; esac