ip_block/add_ipset
2023-06-14 11:56:42 -04:00

11 lines
188 B
Bash
Executable File

#!/bin/bash
#echo "opening File"
#echo "/home/brickman/scripts/block_ips/xa${1}"
for net in `cat "/home/brickman/scripts/block_ips/xa${1}"`
do
sudo ipset -A usa_state $net
done