maxmind / mod_maxminddb

MaxMind DB Apache Module
https://maxmind.github.io/mod_maxminddb/
Apache License 2.0
125 stars 28 forks source link

Question about Config #80

Closed kokotko1337 closed 5 years ago

kokotko1337 commented 5 years ago

I used GEOIP and i want to switch to GeoLite.

I have Question about CFG.

Target is: Block all Countries, Allow only whitelisted + Allow IPs and IP Ranges

Is this right ? I did not found Documatation about IP blocking.

Config File:

MaxMindDBEnable On MaxMindDBFile DB /usr/local/share/GeoIP/GeoLite2-Country.mmdb MaxMindDBEnv MM_COUNTRY_CODE DB/country/iso_code

Deny from all Allow from env=AllowCountry

Whitelisted Country

SetEnvIf MM_COUNTRY_CODE DE AllowCountry

Some WHITELISTED IP RANGES

Allow from 10.0.0.0/8 Allow from 192.0.0.0/8

Some WHITELISTED IPs

Allow from 8.8.8.8

oschwald commented 5 years ago

As this is not a request for features or a report of a bug, I am going to go ahead and close this. At a glance, the config looks ok.