summaryrefslogtreecommitdiff
path: root/data/templates/ssh/sshguard_whitelist.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ssh/sshguard_whitelist.j2')
-rw-r--r--data/templates/ssh/sshguard_whitelist.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/ssh/sshguard_whitelist.j2 b/data/templates/ssh/sshguard_whitelist.j2
new file mode 100644
index 0000000..194fa29
--- /dev/null
+++ b/data/templates/ssh/sshguard_whitelist.j2
@@ -0,0 +1,7 @@
+### Autogenerated by service_ssh.py ###
+
+{% if dynamic_protection.allow_from is vyos_defined %}
+{% for address in dynamic_protection.allow_from %}
+{{ address }}
+{% endfor %}
+{% endif %}