From 2b4e69aaf538fea4d5005616774b5a8d03024e74 Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Thu, 14 May 2015 14:23:46 -0300 Subject: [PATCH] Open postfix port for external access --- cookbooks/firewall/templates/host-email/iptables-filter.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cookbooks/firewall/templates/host-email/iptables-filter.erb b/cookbooks/firewall/templates/host-email/iptables-filter.erb index 5c607c9..7b3a9a1 100644 --- a/cookbooks/firewall/templates/host-email/iptables-filter.erb +++ b/cookbooks/firewall/templates/host-email/iptables-filter.erb @@ -1,6 +1,3 @@ # Allow access to Postfix --A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT --A INPUT -s <%= node['peers']['social'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT --A INPUT -s <%= node['peers']['database'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT --A INPUT -s <%= node['peers']['reverseproxy'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT +-A INPUT -p tcp -m state --state NEW --dport 25 -j ACCEPT -- libgit2 0.21.2