Skip to content

A PowerShell script to automate blocking a big list of IPs from the windows firewall.

License

Notifications You must be signed in to change notification settings

MdeeDev/firewall-IpBlockList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Firewall-IpBlockList

This is a PowerShell script, that can be used to automate adding windows firewall rules. It can take a list of malicious IPs and block them from the firewall.

Where can i get lists of malicious/malware or blacklisted IPs ?

You can find them here: https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist/tree/master/ips

The lists are updated regularly.

How to use?

First you need a file containing the list of IPs. The list must be one IP per line.

Open cmd. then use this command:

powershell.exe -executionpolicy bypass -File \.blockiplist.ps1

About

A PowerShell script to automate blocking a big list of IPs from the windows firewall.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published