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:


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

5 1 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
3 months ago

recently realized how configurable ipban is…. can also be configured to protect an emby server!

would be really cool if we could put together a list of custom configs for various other things? would help noobs keep security in check

nonetheless thanks for the efforts!

Albert G
Albert G
1 year ago

As a less experienced user this feature makes all the difference. Thank you Jeff!

1 year ago

Can I run same script again and again to upgrade to newer version?

1 year ago

I didn’t know you had Linux version. How IPBan compares / differs to default fail2ban?