Commit 22bda562988b6d1cceca4cf00cd13290a5dbc01c

Authored by Sergio Oliveira
1 parent 6cdabf3f

Allow postgresql and redis connections

cookbooks/firewall/templates/host-database/iptables-filter.erb 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +
  2 +# Allow access to PostgreSQL
  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
  5 +
  6 +# Allow access to Redis
  7 +-A INPUT -s <%= node['peers']['integration'] %> -p tcp -m state --state NEW --dport 6379 -j ACCEPT
... ...