Add CLOUDRON chain first

This allows us to not issue an 'upgrade' yet.

Part of #152
This commit is contained in:
Girish Ramakrishnan
2016-12-23 09:53:41 -08:00
parent b759b12e90
commit 91e4f6fcec
+1 -1
View File
@@ -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