Commit 6cdabf3f45a22c2d3734c08792e6ed478b726819
1 parent
df683687
Exists in
master
and in
90 other branches
Allow SSH access to any host from reverseproxy
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
cookbooks/firewall/templates/default/iptables.erb
... | ... | @@ -18,6 +18,9 @@ |
18 | 18 | |
19 | 19 | -A INPUT -i lo -j ACCEPT |
20 | 20 | |
21 | +# Everybody need to accept SSH from reverseproxy | |
22 | +-A INPUT -s <%= node['peers']['reverseproxy'] %> -p tcp -m state --state NEW --dport 22 -j ACCEPT | |
23 | + | |
21 | 24 | <%= node['firewall'] %> |
22 | 25 | <%= render 'iptables-filter.erb' %> |
23 | 26 | ... | ... |