From 91e4f6fcecf811d79c2dc427265e794517b9a9dc Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 23 Dec 2016 09:53:41 -0800 Subject: [PATCH] Add CLOUDRON chain first This allows us to not issue an 'upgrade' yet. Part of #152 --- setup/container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/container.sh b/setup/container.sh index 1ae15feed..da2b251ef 100755 --- a/setup/container.sh +++ b/setup/container.sh @@ -39,7 +39,7 @@ iptables -t filter -A CLOUDRON -m limit --limit 2/min -j LOG --log-prefix "IPTab iptables -t filter -A CLOUDRON -j DROP if ! iptables -t filter -C INPUT -j CLOUDRON 2>/dev/null; then - iptables -t filter -A INPUT -j CLOUDRON + iptables -t filter -I INPUT -j CLOUDRON fi # so it gets restored across reboot