# Traefik connection not working (middleware-manager discussion #29)

**URL:** <https://forum.hhf.technology/t/traefik-connection-not-working-middleware-manager-discussion-29/4661>\
**Category:** Middleware Manager\
**Tags:** discussion\
**Created:** [April 29, 2025, 6:28pm UTC](https://forum.hhf.technology/t/traefik-connection-not-working-middleware-manager-discussion-29/4661 "2025-04-29T18:28:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [April 29, 2025, 6:28pm UTC](https://forum.hhf.technology/t/traefik-connection-not-working-middleware-manager-discussion-29/4661/1 "2025-04-29T18:28:40Z")

</div>

> 💬 **GitHub discussion [middleware-manager #29](https://github.com/hhftechnology/middleware-manager/discussions/29)** in _Q&A_, started by **`viriatusX`** on GitHub

I have upgraded to version 2.0 and I am a Pangolin user.  
The direct connection to Traefik does not work in my case with “http:traefik:8080”. Attached is a screenshot.

In my “traefik\_config.yaml” I have specified this:

api:  
insecure: true  
dashboard: true

I have pangolin installed with the automatic installer. All on the same network and compose.

[External Image](https://github.com/user-attachments/assets/f4dfa9a4-5c7c-4a08-bf27-808b6e26fa71 "Image hosted on another site. Click to open in a new tab.")

Thanks for you incredible work.

* * *

💬 Join in here or [on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/29).

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [April 29, 2025, 8:15pm UTC](https://forum.hhf.technology/t/traefik-connection-not-working-middleware-manager-discussion-29/4661/2 "2025-04-29T20:15:20Z")

</div>

**`timmish`** [commented on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/29#discussioncomment-13041860):

> I have the same issue.  
> I suspect it has something to do with the standard pangolin configuration. The Traefik-container uses “network\_mode: service:gerbil” for the wireguard connection. If I try to expose port 8080, it is denied because of the network\_mode.  
> Maybe this is why middleware manager cannot reach traefik?  
> Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [April 30, 2025, 5:28am UTC](https://forum.hhf.technology/t/traefik-connection-not-working-middleware-manager-discussion-29/4661/3 "2025-04-30T05:28:09Z")

</div>

**`hhftechnology`** [commented on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/29#discussioncomment-13041861):

> @​viriatusX and @​timmish when you are using pangolin use pangolin api. if you want to tinker with traefik api then you will have to open ports on gerbil
> 
> [External Image](https://github.com/user-attachments/assets/4b1e8006-5b5a-443a-b351-d9f6762fa7bf "Image hosted on another site. Click to open in a new tab.")
