Trouble tunneling from VPS to 1 of 2 home servers #1792

Closed
opened 2026-04-05 19:41:58 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @reneald on 2/11/2025

I'm having some troubles getting Pangolin to work on my environment. I fired up a VPS on Hetzner and deployed Pangolin there. Opened ports 80, 443 and UDP 51820. I've created an A record for my domain pointing to the public IP of my VPS. (As a sidenote, I had an A record in my DNS pointing to my home public IP address, but removed that when I added the one pointing to my VPS.)
I can access the pangolin management interface on https://pangolin.MYDOMAIN.COM. So far, so good.

I have 2 servers in my homelab (let's say server-01 and server-02). Both are running ubuntu with several docker services. I added 2 sites in Pangolin, one for each server, and started a newt docker container on each server as described in the docs. Both show up as Online in Pangolin. But only server-01 works: I can expose docker services on that server through Pangolin, but any service I try to expose from server-02 fails. The only difference that I can see is that I used to have some (but not all) services on server-01 exposed via SWAG, and none on server-02. But I don't see how that could make a difference.
The newt container logs on server-02 just show Error connecting to target: dial tcp 172.22.0.2:25600: connect: connection timed out.

Is there anything I can do to troubleshoot this? Happy to provide more specific information if that helps.

[edit: I had some more problems listed here which occurred on server-01, but I've been able to solve those already]

*Originally created by @reneald on 2/11/2025* I'm having some troubles getting Pangolin to work on my environment. I fired up a VPS on Hetzner and deployed Pangolin there. Opened ports 80, 443 and UDP 51820. I've created an A record for my domain pointing to the public IP of my VPS. (As a sidenote, I had an A record in my DNS pointing to my home public IP address, but removed that when I added the one pointing to my VPS.) I can access the pangolin management interface on https://pangolin.MYDOMAIN.COM. So far, so good. I have 2 servers in my homelab (let's say server-01 and server-02). Both are running ubuntu with several docker services. I added 2 sites in Pangolin, one for each server, and started a newt docker container on each server as described in the docs. Both show up as Online in Pangolin. But only server-01 works: I can expose docker services on that server through Pangolin, but any service I try to expose from server-02 fails. The only difference that I can see is that I used to have some (but not all) services on server-01 exposed via SWAG, and none on server-02. But I don't see how that could make a difference. The newt container logs on server-02 just show `Error connecting to target: dial tcp 172.22.0.2:25600: connect: connection timed out.` Is there anything I can do to troubleshoot this? Happy to provide more specific information if that helps. [edit: I had some more problems listed here which occurred on server-01, but I've been able to solve those already]
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1792