summaryrefslogtreecommitdiff
path: root/data/templates/ssh/sshguard_whitelist.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ssh/sshguard_whitelist.tmpl')
-rw-r--r--data/templates/ssh/sshguard_whitelist.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/ssh/sshguard_whitelist.tmpl b/data/templates/ssh/sshguard_whitelist.tmpl
new file mode 100644
index 000000000..c972ec343
--- /dev/null
+++ b/data/templates/ssh/sshguard_whitelist.tmpl
@@ -0,0 +1,7 @@
+### Autogenerated by ssh.py ###
+
+{% if dynamic_protection.allow_from is defined and dynamic_protection.allow_from is not none %}
+{% for address in dynamic_protection.allow_from %}
+{{ address }}
+{% endfor %}
+{% endif %}