Commit 22bda562988b6d1cceca4cf00cd13290a5dbc01c
1 parent
6cdabf3f
Exists in
master
and in
90 other branches
Allow postgresql and redis connections
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
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 | ... | ... |