DeXo Bad IP Blacklist is a Node.js script designed to automatically download and process IP blacklists from various sources and block the listed IPs using iptables. This script helps enhance the security of your server by preventing incoming and outgoing connections from known malicious IPs.
- Automatically download and process IP blacklists from multiple sources.
- Block malicious IPs using iptables.
- Customizable list of IP blacklist sources.
- Easy-to-use and configurable.
- Ensure you have Node.js installed on your server.
- Download the DeXo Bad IP Blacklist script with this command:
git clone https://github.com/DeXoHigh/dexo-ipblacklist.git
- Install the required Node.js packages by running the following command:
cd dexo-ipblacklist/ && npm i
Open the app.js and customize the IP_BLACKLIST_URLS array to include the URLs of the IP blacklists you want to use.
Start the script by running the following command:
npm run start
Stop the script by running the following command:
npm run stop
Schedule the script to run at regular intervals by adding it to your server's cron jobs or using a task scheduler. For detailed usage instructions, see How to Use in the documentation.
Contributions are welcome! If you would like to contribute to this project, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to List of IP Addresses for providing IP blacklists.
LittleJake
borestad
If you have questions or need assistance, please open an issue in the GitHub repository.