Closed trallen closed 4 years ago
Hey @trallen thanks for pointing this out. I think this is a good idea.
But it's true I've assumed some kind of experience using nftables if you need this script. Feel free to submit a PR if you want (in that case don't forget to mention closing the issue in the commit message), else I can push a fix real quick. :)
Thanks! I'm happy with any changes you care to make, but can submit a PR if you prefer.
I have some spare time right now, so to make thinks quick I did just fix it. Thanks again!
For those using both the
@geoip4
and@geoip6
maps, the recommended configuration in the README results in the following error:Error: conflicting protocols specified: ip vs. ip6
This is because, by default,
table geoip { ... }
creates an ip table, which rejects ipv6 addresses. Instead, users should usetable inet geoip { ... }
.This is probably trivial for those with nftables experience to resolve, but it might be worth either changing the example configuration, or adding a note to warn users that they need to use the following configuration:
Thanks for creating a great tool!