# Activating Traefik Dashboard through Pangolin

**URL:** <https://forum.hhf.technology/t/activating-traefik-dashboard-through-pangolin/525>\
**Category:** Networking\
**Tags:** traefik, pangolin\
**Created:** [February 19, 2025, 5:00pm UTC](https://forum.hhf.technology/t/activating-traefik-dashboard-through-pangolin/525 "2025-02-19T17:00:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [February 19, 2025, 5:00pm UTC](https://forum.hhf.technology/t/activating-traefik-dashboard-through-pangolin/525/1 "2025-02-19T17:00:43Z")

</div>

The procedure for accessing the Traefik dashboard through Pangolin:

### Step 0: Verify Dashboard Configuration in `traefik_config.yml`

Check Traefik configuration already has the dashboard enabled with:

```yaml
api:
  insecure: true
  dashboard: true

```

## Step 1: Create a Local Site in Pangolin

1. Log into your Pangolin dashboard
2. Go to the “Sites” tab and click “Add Site”
3. Fill in the required information:
  - Give your site a name (e.g., “Local Infrastructure”)
  - Select “Local” as the connection method
  - Click “Create Site”  
 ![image](https://forum-cdn.hhf.technology/original/1X/612541a8f67a255095ee37aaf0cb0113e84bc821.png)

## Step 2: Create a Resource for Traefik Dashboard

1. Go to the “Resources” tab and click “Add Resource”

2. Configure the resource:

3. On the Connectivity page:

4. On the Authentication page:

## Important: Port Exposure in Gerbil

Yes, you need to expose port 8080 in your Gerbil configuration. Since Traefik operates through Gerbil in your setup, you must add this port to your `docker-compose.yml` file:

```yaml
gerbil:
  image: fosrl/gerbil:1.0.0-beta.3
  container_name: gerbil
  restart: unless-stopped
  depends_on:
    pangolin:
      condition: service_healthy
  networks:
    - pangolin
  command:
    - --reachableAt=http://gerbil:3003
    - --generateAndSaveKeyTo=/var/config/key
    - --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config
    - --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
  volumes:
    - ./config/:/var/config
  cap_add:
    - NET_ADMIN
    - SYS_MODULE
  ports:
    - 51820:51820/udp
    - 443:443
    - 80:80
    - 8083:8080 # Add this line to expose Traefik dashboard port

```

After adding this port mapping, you’ll need to restart your Gerbil container:

```bash
sudo docker compose down
sudo docker compose up -d

```

 ![image](https://forum-cdn.hhf.technology/original/1X/7b311990dd5f4423e5826664eaa252e4244b8fe3.png)

Additionally, verify that port 8080 is allowed on your firewall if you’re using one. This enables external access to the Traefik dashboard through your Pangolin resource.

---

<div class="post-metadata">

**Author:** ![Spritzup](https://forum.hhf.technology/letter_avatar_proxy/v4/letter/s/e480ec/32.png) [@Spritzup](https://forum.hhf.technology/u/Spritzup)\
**Post date:** [March 26, 2025, 3:21pm UTC](https://forum.hhf.technology/t/activating-traefik-dashboard-through-pangolin/525/2 "2025-03-26T15:21:26Z")

</div>

Why do you need to expose port 8080 externally? Couldn’t (and shouldn’t) all traffic remain internal to the Pangolin docker network?

---

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [March 26, 2025, 3:48pm UTC](https://forum.hhf.technology/t/activating-traefik-dashboard-through-pangolin/525/3 "2025-03-26T15:48:13Z")

</div>

someone from the crowded asked i want to achieve this. and i did it. lol 🙂  
No security is kept in mind. you should never need this guide, its pointless to expose dashboard.  
But saying that, it is doable, and you can put traefik auth to secure a bit more

---

<div class="post-metadata">

**Author:** ![Kerry](https://forum.hhf.technology/user_avatar/forum.hhf.technology/kerry/32/3248_2.png) [@Kerry](https://forum.hhf.technology/u/Kerry)\
**Post date:** [October 2, 2025, 5:07pm UTC](https://forum.hhf.technology/t/activating-traefik-dashboard-through-pangolin/525/4 "2025-10-02T17:07:15Z")

</div>

```auto
If I wanted to add dashboard insecure: false where would I add the label, 
 - "traefik.http.middlewares.traefik-auth.basicauth.users=admin:$$2y$$05$$8UeK5z7t/f242yFTjmr9VOel=

```
