From fcd9582f4761399527ae3177878c1149e6e2ae23 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Sun, 30 Mar 2025 10:43:24 +0000 Subject: [PATCH] Specified firewall rules to apply to iptables and ip6tables --- sshguard/firewall.rules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sshguard/firewall.rules diff --git a/sshguard/firewall.rules b/sshguard/firewall.rules new file mode 100644 index 0000000..cac91fc --- /dev/null +++ b/sshguard/firewall.rules @@ -0,0 +1,5 @@ +# Add this chain +:sshguard - [0:0] + +# Make this the first input chain rule +-A INPUT -m multiport -p tcp --destination-ports 21,22,110,143 -j sshguard