Commit 84d8226c5d1bc51832dd0650956ee820be99394e
1 parent
6b520f4c
Exists in
master
and in
36 other branches
Allow SMTP connections to email host
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
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 | ... | ... |