traefik-geoip-filter
traefik-geoip-filter
Docker app from Emphyrio's Repository
Overview
Requirements
Middleware (forwardAuth) configuration in Traefik
Account on MaxMind.com (free)
Runtime arguments
- Network
bridge- Shell
sh- Privileged
- false
Template configuration
Your (numeric) MaxMind account id
- Target
- MAXMIND_ID
- Default
- 1234567
The MaxMind license key you generated
- Target
- MAXMIND_KEY
- Default
- long_string_of_gibberish
Set the filter as an allow or blocklist (possible values: allow, blocklist)
- Target
- FILTER_TYPE
- Default
- allow
- Value
- allow
List of countries you want to allow/block IPs from, separated by spaces. See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
- Target
- COUNTRY_CODES
- Default
- NL DE BE LU
- Value
- NL DE BE LU
List of locations smaller than a country that you want to allow/block IPs from. Separated by spaces. See https://en.wikipedia.org/wiki/ISO_3166-2#Current_codes
- Target
- SUB_CODES
Append additional IPs to the filter list, separated by spaces. E.g. LAN, Vaultwarden network. E.g. 10.0.0.0/32 172.16.0.0/16 192.168.0.0/24. Optional.
- Target
- EXTRA_IPS
Location to store Geolite2 databases
- Target
- /geoip
- Default
- /mnt/user/appdata/traefik-geoip-filter
- Value
- /mnt/user/appdata/traefik-geoip-filter
Categories
Details
mpdcampbell/traefik-geoip-filterRun traefik-geoip-filter on Unraid.
traefik-geoip-filter is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.