summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xserver/modules/sshd-freiburg/opt/openslx/iptables/rules.d/10-sshd3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/modules/sshd-freiburg/opt/openslx/iptables/rules.d/10-sshd b/server/modules/sshd-freiburg/opt/openslx/iptables/rules.d/10-sshd
new file mode 100755
index 00000000..11dce812
--- /dev/null
+++ b/server/modules/sshd-freiburg/opt/openslx/iptables/rules.d/10-sshd
@@ -0,0 +1,3 @@
+#!/bin/ash
+
+iptables -w -I ipt-helper-INPUT 1 -i br0 -p tcp \! -s 132.230.0.0/16 --dport 22 -j DROP