From 1562ab87d409e49f76d4a1943eeadc348cfde921 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Mon, 18 May 2015 18:42:55 -0300 Subject: [PATCH] Allow SMTP connections from email to integration --- cookbooks/firewall/templates/host-integration/iptables-filter.erb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/cookbooks/firewall/templates/host-integration/iptables-filter.erb b/cookbooks/firewall/templates/host-integration/iptables-filter.erb index d662a62..79f1c53 100644 --- a/cookbooks/firewall/templates/host-integration/iptables-filter.erb +++ b/cookbooks/firewall/templates/host-integration/iptables-filter.erb @@ -1,4 +1,7 @@ +# Allow SMTP connections +-A INPUT -s <%= node['peers']['email'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT + # Allow HTTP access -A INPUT -s <%= node['peers']['reverseproxy'] %> -p tcp -m state --state NEW -m multiport --dports 80,443 -j ACCEPT -- libgit2 0.21.2