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
A commented out section of
cc-to-ipset-script.shhas 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: