Skip to content

Commit

Permalink
Update ipban.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AliDbg committed Feb 1, 2024
1 parent 3e353ea commit 1c469c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipban.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# v5.0.1 github.com/AliDbg/IPBAN ######### Ubuntu≥20 Debian≥11 CentOS≥8
# v5.0.2 github.com/AliDbg/IPBAN ######### Ubuntu≥20 Debian≥11 CentOS≥8
#bash ./ipban.sh -add OUTPUT -geoip CN,IR -limit DROP -icmp no
#bash ./ipban.sh -reset yes
#bash ./ipban.sh -remove yes
Expand Down Expand Up @@ -154,7 +154,7 @@ iptables_rules(){

if [[ ${ICMP} == *"n"* ]]; then
iptables -A INPUT -p icmp -j DROP
ip6tables -A INPUT -p icmp -j DROP
ip6tables -A INPUT -p ipv6-icmp -j DROP
fi
}

Expand Down

0 comments on commit 1c469c1

Please sign in to comment.