Skip to content

Add switch to only block web ports #16

@TechnologyClassroom

Description

@TechnologyClassroom

A commented out section of cc-to-ipset-script.sh has the iptables syntax. Ideally a switch such as -w could be added to these scripts to optionally change them from completely blocking a group of IPs to only blocking them from hitting the common web ports 80 and 443.

This would not disrupt mail or other ports from being used.

Example of how it could be run:

bash cc-to-ipset-script.sh -w

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions