# Add Geo Blocking Middleware to apps

- In Traefik 
    - give middleware a name like "geoblock"
    - [![image.png](https://docs.coltscomputer.services/uploads/images/gallery/2024-01/scaled-1680-/6blS1rtJ72csxpNP-image.png)](https://docs.coltscomputer.services/uploads/images/gallery/2024-01/6blS1rtJ72csxpNP-image.png)
    - Setting blacklist mode will invert the logic, so the listed countries will be blacklisted
- In apps 
    - [![image.png](https://docs.coltscomputer.services/uploads/images/gallery/2024-01/scaled-1680-/xj1sxvyqKp8B6N9K-image.png)](https://docs.coltscomputer.services/uploads/images/gallery/2024-01/xj1sxvyqKp8B6N9K-image.png)
    - set middleware name to the same as name above