An Easy and Simple Anti-DDoS solution for VPS,Dedicated Servers and IoT devices - Beta
MIT License
An Easy and Simple Anti-DDoS solution for VPS,Dedicated Servers and IoT devices based on iptables/ipsets
Run the bash script (install.sh) to install all the required dependencies.
bash install.sh
To configure proxydomains you need to enable the proxy option on /etc/nshield/nshield.conf (proxy = 1) and be sure that the proxydomain list (on the same conf file) is correct:
proxydomains = [
"sami.pw 8.8.8.8",
"example.org 1.2.3.4"
]
After you completed the install with the quickstart script you can call the "config-nshield" commad that will read the nshield.conf and re-configure shield rules based on the new configuration.
Example: I want to enable SSL on sami.pw that i just configured as above:
# config-shield
The domain must point to the net-Shield instance otherwise will fail let's encrypt verification.
Logs are diplayed on: /var/log/nshield.log
Basically this script is set by default to run every 30 minutes and execute these operations:
Tested on Ubuntu 16.04 and 14.04 LTS
Feel free to open issues or send me an email
In case you cannot compile it your self and/or run the install.sh you can find the binaries on: https://github.com/fnzv/net-Shield/tree/master/binaries
Code distributed under MIT licence.