nftables/README.md

16 lines
529 B
Markdown
Raw Normal View History

2024-02-12 12:28:12 -05:00
# 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`
2024-02-12 12:40:43 -05:00
Patch nftables config: `sudo patch -p1 /etc/nftables.conf < /etc/nftables.d/nftables.patch`
2024-02-12 12:28:12 -05:00
Reload nftables: `sudo nft -f /etc/nftables.conf`
2024-02-12 12:32:39 -05:00
## 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
```