Skip to content

Instantly share code, notes, and snippets.

View proofrock's full-sized avatar

Germano Rizzo proofrock

View GitHub Profile

This adds IP filtering for the Pangolin console; it will work normally for the Pangolin resources, but access to the console will be restricted to connections coming from a given IP.

I tested it with the following versions; it should work with several other too.

  • Pangolin 1.12.1
  • Gerbil 1.2.2
  • Traefik 3.5.4
  • Badger 1.2.1

Things to replace in the instructions below:

@proofrock
proofrock / pangolin_console_ip_filter_with_haproxy,md
Created November 6, 2025 08:36
IP filtering for Pangolin console, with HaProxy
This adds IP filtering for the Pangolin console; it will work normally for the Pangolin resources, but access to the console will be restricted to connections coming from a given IP.
I tested it with the following versions; it should work with several other too.
- Pangolin 1.12.1
- Gerbil 1.2.2
- Traefik 3.5.4
- Badger 1.2.1
Things to replace in the instructions below: