[arm-allstar] Script to ban IP

Craig Davidson k1bdx.craig at gmail.com
Sun Jun 30 18:44:00 EDT 2019


The linux operating system can block ip addresses with this command as root

/sbin/iptables -I INPUT -p udp -s 216.24.81.218 -j DROP

just replace 216.24.81.218 with the IP address you want to block

You can see a list of what IP addresses are blocked with this command as root

iptables -L




On 6/30/19, "Rachid Karroo via ARM-allstar" <arm-allstar at hamvoip.org> wrote:
> Dear all
>
> Is there a script that I could insert into my Hamvoip/Supermon on my PI to
> block an IP access?
> Checking my web access log, I saw an IP (reported as abuse) trying to get
> into here.
>
> Thanks
> 73s
> Rachid
> 3B8FP


More information about the ARM-allstar mailing list