nftables/README.md
2024-02-12 12:40:43 -05:00

529 B

CollabNet IP Blocklists

How to use

To use these lists, first clone them to the nftables.d directory like this: sudo git clone https://git.computernewb.com/collabvm/nftables /etc/nftables.d

Patch nftables config: sudo patch -p1 /etc/nftables.conf < /etc/nftables.d/nftables.patch

Reload nftables: sudo nft -f /etc/nftables.conf

Configuring automated updates

To automatically update these lists, add the following to root's crontab (sudo crontab -e):

0 * * * * /etc/nftables.d/update.sh >/dev/null 2>&1