From ed11df8ed02eaa34287149f44809b56f3fdab37f Mon Sep 17 00:00:00 2001
From: GFW-knocker <123458121+GFW-knocker@users.noreply.github.com>
Date: Mon, 13 Feb 2023 16:06:48 +0330
Subject: [PATCH] Update README.md
---
README.md | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 73150cc..d3633e8 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ iptables rules to protect against GFW-prober DDOS and port scanning
-# pure ufw rate-limit (if you dont like iptables)
+# ufw rate-limit (limit 20 syn & 100 established TCP per IP)
0. open file /etc/ufw/before.rules
sudo vim /etc/ufw/before.rules
@@ -58,14 +58,12 @@ iptables rules to protect against GFW-prober DDOS and port scanning
sudo ufw reload
-# how to run script:
-- set permission:
-
- chmod +x srcipt.sh
-- run with root user:
-
- ./script.sh
-- rules applied immidiately but you need to run this after every restart
+# PortScan Protection (scan 5 port within 1 min -> block 30 min):
+- set permission:
+ chmod +x iptables_portscan_protection.sh
+- run with root user:
+ ./iptables_portscan_protection.sh
+- rules applied immidiately but you need to run this after every restart
# iptables user manual: