traefik-geoip-filter

traefik-geoip-filter

Aplicación Docker from Emphyrio's Repository

Visión general

A Docker container that works as a GeoIP allow/blocklist middleware for Traefik. Uses the Maxmind GeoLite2 database.

Requisitos

Traefik on the same Docker network
Middleware (forwardAuth) configuration in Traefik
Account on MaxMind.com (free)

Argumentos en tiempo de ejecución

Red
bridge
Concha
sh
Privilegiado
false

Configuración de plantillas

MaxMind account idVariable

Your (numeric) MaxMind account id

Objetivo
MAXMIND_ID
Por defecto
1234567
MaxMind license keyVariable

The MaxMind license key you generated

Objetivo
MAXMIND_KEY
Por defecto
long_string_of_gibberish
Filter typeVariable

Set the filter as an allow or blocklist (possible values: allow, blocklist)

Objetivo
FILTER_TYPE
Por defecto
allow
Valor
allow
Country codesVariable

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

Objetivo
COUNTRY_CODES
Por defecto
NL DE BE LU
Valor
NL DE BE LU
Sub codesVariable

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

Objetivo
SUB_CODES
Extra IPsVariable

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.

Objetivo
EXTRA_IPS
Appdata folderPathrw

Location to store Geolite2 databases

Objetivo
/geoip
Por defecto
/mnt/user/appdata/traefik-geoip-filter
Valor
/mnt/user/appdata/traefik-geoip-filter

Detalles

Repositorio
mpdcampbell/traefik-geoip-filter
Última actualización2026-05-31
Visto por primera vez2026-05-16

Ejecute traefik-geoip-filter en Unraid.

traefik-geoip-filter se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.