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:

https://raw.githubusercontent.com/DigitalRuby/IPBan/master/IPBanCore/Windows/Scripts/install_latest.ps1

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

5 1 vote
Article Rating
Subscribe
Notify of
guest

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

14 Comments
Newest
Oldest Most Voted
Joseph Vargas
Joseph Vargas
3 months ago

When Installing version 3.1.0, I get a cmd window that shows that it was installed as a service, yet when I go to services I do not see it. It does create an inbound rule to diable access when an ip address violates the rule. So I need to run the exe so that it works? Here is what is displayed when I run the EXE. 2026-03-31 14:42:32.0159|WARN|IPBan|Initializing service 2026-03-31 14:42:32.0962|WARN|IPBan|Detecting os version… 2026-03-31 14:42:32.1477|WARN|IPBan|OS version detected: Name: Windows, Version: 10.0.26100, Friendly Name: Microsoft Windows 11 Pro, Description: Microsoft Windows 10.0.26100, app version: 3.1.0 2026-03-31 14:42:32.1679|WARN|IPBan|Running as a console app… Read more »

Joseph Vargas
Joseph Vargas
3 months ago
Reply to  Jeff Johnson

That worked. Thanks. Is there an admin console that works with the standard edition?

John
John
3 years ago

Can I to install ipban without pro subscription?

turbofiero
turbofiero
4 years 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
5 years ago

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

Slavik
Slavik
5 years ago

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

Slavik
Slavik
5 years ago

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