From 9dd371691ef89a994e3415176434a5fad59e9ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20TURAN?= Date: Thu, 25 Jan 2024 10:25:29 +0300 Subject: [PATCH] Create lwguardian --- lwguardian | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lwguardian diff --git a/lwguardian b/lwguardian new file mode 100644 index 0000000..5523f0d --- /dev/null +++ b/lwguardian @@ -0,0 +1,8 @@ +#!/bin/bash +randomcookie_secret=`cat /dev/urandom | tr -cd 'a-zA-Z0-9' | head -c 10` + +echo 'cookie_name: LWvddos #Sets cookie name (Option: string) +cookie_secret: '$randomcookie_secret' #Sets cookie secret key (Option: random string) +ipv6_support: no #Enable/Disable IPv6 (Option: yes or no) +' > /vddos/conf.d/cus/vddos.conf +/usr/bin/vddos reload