1
0
Fork 0
ipset update scripts
 
 
Go to file
root 8647e2c6db readme 2019-08-28 17:06:14 +02:00
README.md readme 2019-08-28 17:06:14 +02:00
install.sh update 2019-08-28 16:58:30 +02:00
ipset_update.sh update 2019-08-28 16:58:30 +02:00
lists.json update 2019-08-28 16:58:30 +02:00
lists_updater.py update 2019-08-28 16:58:30 +02:00

README.md

ipset updater

Bash + Python ipset list updater

Prerequisites

  • ipset
  • shorewall
apt install ipset shorewall

Installing

git clone

git clone https://git.k3nny.fr/Tools/ipset_updater.git

install cron task

./install.sh

launch for first time

./ipset_update.sh

Using in shorewall

Add these rules in /etc/shorewall/rules :

DROP		net:+blacklist	$FW
DROP		net:+blacklist_ipv4	$FW
DROP		net:+blacklist_net	$FW
DROP		$FW			net:+blacklist
DROP		$FW			net:+blacklist_net
DROP		$FW			net:+blacklist_ipv4