Skip to content

IP limit of 1000 per firewall rule #1

@mbhatton

Description

@mbhatton

Hi,

Thanks for the script - its really useful for me.

I just spotted lots of errors when the script ran on my server. Looking into it further it was due to array out of bounds when adding a new IP to the list. Further still and it looks like there is a maximum of 1,000 IPs which can be added to the scope of a firewall rule.

I am not good with powershell, but I created a BlockAttackers2 rule, pulled its contents into $ar2, appended it to $arRemote and then wrote the exclusions to $ar2 instead.

Looks like it too me about 3 months to hit 1000 blocked IPs !

Matt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions