Skip to content

Commit

Permalink
Create lwguardian
Browse files Browse the repository at this point in the history
  • Loading branch information
ertugrulturan authored Jan 25, 2024
1 parent 9f70c5d commit 9dd3716
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lwguardian
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9dd3716

Please sign in to comment.