Commit 724c48255fc71b1f25a48ce3834e92b2245c0e80
Committed by
Rafael Manzo
1 parent
93b20fa7
Exists in
mezuro_cookbook
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 | 2 | # Allow access to PostgreSQL |
| 3 | 3 | -A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 5432 -j ACCEPT |
| 4 | 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 | 7 | # Allow access to Redis |
| 7 | 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