Jump to content

Simple automatic IP banning tool


Go to solution Solved by Luke,

Recommended Posts

Posted

Forgive me if this is not the right place to post as this is my first time posting. I spent the last two days creating a small, simple app that automatically bans IPs based on failed logins to Emby on Windows. It uses Windows Firewall rules to block IPs for a user-specified amount of time, and it also allows you to manually ban or unban IPs. This app is designed specifically for Emby.

I usually run fail2ban on my Linux machines, but I have Emby running on a Windows system because the hardware is significantly better and I am running out of storage space on my Linux servers. I could not find any Windows options that I really liked, so I decided to make my own.

I am not a professional developer and do not claim to be. I have done very little scripting or programming overall, but this works well for my use case, and I thought I would share it in case others find it useful.

******Tested on Windows 11 version 24H2 with Emby Server Version 4.8.11.0 and requires Windows Powershell to be installed on your machine******
(It's just a Powershell script wrapped as an executable through PS2EXE)

Features:
- Simple GUI
- Automatic and manual banning/unbanning IP's for failed logins to Emby
- Runs as an app in the system tray

If allowed, I'd be happy to post the GitHub link if there is interest.

As always, be cautious when downloading files from the internet.

Screenshot-1.png

Screenshot-2.png

Screenshot-3.png

  • Thanks 1
Posted

Hello barton91,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

  • Solution
Posted

Hi, posting the github link is OK.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...