Commit 2b4e69aaf538fea4d5005616774b5a8d03024e74

Authored by Athos
1 parent 6157b9ec

Open postfix port for external access

cookbooks/firewall/templates/host-email/iptables-filter.erb
1 1
2 # Allow access to Postfix 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 3 +-A INPUT -p tcp -m state --state NEW --dport 25 -j ACCEPT