IPBan One Click Install for Windows and Linux
IPBan now has a simple one click install for Windows, simply run the following from an admin powershell prompt:
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/DigitalRuby/IPBan/master/IPBanCore/Windows/Scripts/install_latest.ps1'))
If you have any concerns about running a powershell script from a url, please try the url in your browser and review the code:
The same powershell script can be used with a uninstall
argument should you ever need to remove IPBan from a system.
For reference, here is the Linux one click install script:
https://raw.githubusercontent.com/DigitalRuby/IPBan/master/IPBanCore/Linux/Scripts/Install.sh.
The Linux script can be executed as follows:
sudo -i; bash <(wget -qO- https://raw.githubusercontent.com/DigitalRuby/IPBan/master/IPBanCore/Linux/Scripts/Install.sh)
May these scripts serve you well in securing your servers.
Have a wonderful day!
– Jeff
As a less experienced user this feature makes all the difference. Thank you Jeff!
You are very welcome 🙂
Can I run same script again and again to upgrade to newer version?
Yes. On Windows I have it preserving the ipban.sqlite and ipban.config files. I still need to update the Linux script to do this. I will do that now.
Ok it’s updated now for Linux too 🙂
I didn’t know you had Linux version. How IPBan compares / differs to default fail2ban?
It should be able to do everything fail2ban can do, along with (in my opinion) being more performant and easier to configure.