Commit 84d8226c5d1bc51832dd0650956ee820be99394e

Authored by Sergio Oliveira
1 parent 6b520f4c

Allow SMTP connections to email host

cookbooks/firewall/templates/host-email/iptables-filter.erb 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +
  2 +# Allow access to Postfix
  3 +-A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT
  4 +-A INPUT -s <%= node['peers']['social'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT
  5 +-A INPUT -s <%= node['peers']['database'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT
  6 +-A INPUT -s <%= node['peers']['reverseproxy'] %> -p tcp -m state --state NEW --dport 25 -j ACCEPT
... ...