Replies: 4 comments 15 replies
-
| 
         Hi, geoip-shell does not store any nft files. Rules are generated programmatically, depending on user config. You can see the code here. By default, geoip-shell enables geoblocking persistence across reboots. This is achieved via an init script and a firewall include on OpenWrt, and via a cron job on all other systems. And yes, geoip-shell in principle has about 0 potential to create rules which would interfere with any other pre-existing rules, except if pre-existing rules implement geoblocking as well. As long as you configure geoip-shell sensibly, you should have no problems. You can read more about the rules created by geoip-shell here.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Apologies if this is a basic question, but: What is the recommended source for IP country lists? I intend to block the following countries: CN, RU, IN, BR, VN, IR, ID, NG. Does the default RIPE data source include all of them, or is it necessary to use additional RIRs? Just tried the IPdeny and MaxMind sources and get a error... fetch: Error: SSL support is required to use the IPDENY source but no utility with SSL support is available.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Hi @vdias, did you verify that geoblocking is working correctly? I would appreciate an update on this. Also in the meantime it occurred to me that you may have other nftables rules in place with higher priority than rules created by geoip-shell, which potentially prevent packets from reaching geoip-shell rules. If you still have 0 in all counters, I would suggest to check all existing rule using the command   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Yes, I’ve started to see some hits, lower than expected, but there are some nonetheless. Just a quick suggestion, my local_block_4 set is populated with the IPsum Level 4 list, which I download daily at 4 AM and load using your script as a local blocklist. Thought I’d mention it in case you're considering adding additional security features to geoip-shell. There are several IP blacklist projects out there you might consider integrating; IPsum is a good example: https://github.com/stamparm/ipsum Also, a big thanks for this project and your quick support, geoip-shell is exactly the kind of efficient, no-nonsense tool I was looking for. Great work!!!  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Where are all the configuration (*.nft) files stored?
Are the rules automatically imported and applied after a reboot?
This is my main nft file, which already includes some prerouting rules. Will they coexist without conflict?
Beta Was this translation helpful? Give feedback.
All reactions