aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/network/files
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-05-21 14:00:47 +0200
committerAlex Auvolat <alex@adnab.me>2020-05-21 14:00:47 +0200
commit78f452587ae623033283bda1cb14155c2e49309e (patch)
tree37a5de463a3327eb4ab2934a1a6665d0d6ffd42d /ansible/roles/network/files
parent5d3fdfbc161fb94854ac0c0eaf58744c7e48debf (diff)
downloadinfrastructure-78f452587ae623033283bda1cb14155c2e49309e.tar.gz
infrastructure-78f452587ae623033283bda1cb14155c2e49309e.zip
Make the net ansible section `never` run and add appropriate warnings
Diffstat (limited to 'ansible/roles/network/files')
-rw-r--r--ansible/roles/network/files/rules.v66
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/network/files/rules.v6 b/ansible/roles/network/files/rules.v6
index 0f402bd..17ff71c 100644
--- a/ansible/roles/network/files/rules.v6
+++ b/ansible/roles/network/files/rules.v6
@@ -1,3 +1,9 @@
+# WARNING!! When rules.{v4,v6} are changed, the whole iptables configuration is reloaded.
+# This creates issues with Docker, which injects its own configuration in iptables when it starts.
+# In practice, most (all?) containers will break if rules.{v4,v6} are changed,
+# and docker will have to be restared.
+
+
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]