Commit 2b4e69aaf538fea4d5005616774b5a8d03024e74
1 parent
6157b9ec
Exists in
master
and in
90 other branches
Open postfix port for external access
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
cookbooks/firewall/templates/host-email/iptables-filter.erb
1 | 1 | |
2 | 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 | ... | ... |