Commit 95a2222274d352cdcbd778f81cd24f3bef42faa1
Committed by
Rafael Reggiani Manzo
1 parent
9de7b2b9
Exists in
master
and in
9 other branches
Adding iptables rules for Mezuro machine
Signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Showing
3 changed files
with
3 additions
and
0 deletions
Show diff stats
cookbooks/firewall/templates/host-database/iptables-filter.erb
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | # Allow access to PostgreSQL | 2 | # Allow access to PostgreSQL |
3 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT | 3 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT |
4 | -A INPUT -s <%= node['peers']['social'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT | 4 | -A INPUT -s <%= node['peers']['social'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT |
5 | +-A INPUT -s <%= node['peers']['mezuro'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT | ||
5 | 6 | ||
6 | # Allow access to Redis | 7 | # Allow access to Redis |
7 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 6379 -j ACCEPT | 8 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 6379 -j ACCEPT |
cookbooks/firewall/templates/host-mezuro/iptables-filter.erb
0 → 100644
cookbooks/firewall/templates/host-mezuro/iptables-nat.erb
0 → 100644