ip_block/add_ipset

11 lines
188 B
Plaintext
Raw Normal View History

2023-06-14 15:56:42 +00:00
#!/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