rpthms / nft-geo-filter

Allow/deny traffic in nftables using country specific IP blocks
MIT License
98 stars 24 forks source link

Persist IP source data across runs #28

Open dgilman opened 2 years ago

dgilman commented 2 years ago

If you're applying firewall rules when the machine comes up (as I imagine most people are) the machine's internet access may not be available. It would make sense to store the raw JSON files from the IP sources in /var so firewall rules can be applied even when the network is down. nft-geo-filter will have to gain the ability to potentially refresh those files as well.