mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 12:55:03 -05:00
[GH-ISSUE #2837] Newt ping failed #7050
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DSYZayn on GitHub (Apr 12, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2837
Describe the Bug
I tested on pangolin cloud without installing any realy server, just installed a Newt and tried to use it as a cloudflare tunnel to expose a private network service to the public, but it failed. The Newt logs show ping failed. Is this the main reason that my Newt instance is in China? I confirmed that there is no firewall on the server where my Newt instance is located, and that tailscale and cloudflare are both running fine on that server
Environment
To Reproduce
Expected Behavior
newt ping failed
@DSYZayn commented on GitHub (Apr 12, 2026):
logs after restart Newt service:
@AstralDestiny commented on GitHub (Apr 17, 2026):
What's your vps provider? some vps providers might flag 51820 and 21820 as ddos and selectively flag or block connections, The ICMP happens over the tunnel so if the tunnel can't connect (51820) or your defined port it will cause the ping issue. Also would need to know what versions you're running for stuff.
Sorry didn't read that right in my head for some reason,
If you disable tailscale does it load fine? tailscale is aggressive on using the entire cgnat range for connections which can cause hit or miss issues.
@coradia commented on GitHub (Apr 24, 2026):
This may be a Pangolin/Gerbil Cloudflare proxy configuration edge case rather than a standalone Newt client issue.
I think I’m hitting the same/related issue with Newt ping failure when using the documented Cloudflare proxy setup.
Pangolin is self-hosted behind a Cloudflare proxy. Following the docs, I've:
Newt connects successfully to Pangolin:
But it then fails the exit node ping because it attempts HTTPS against the raw public IP:
I confirmed the network path itself works:
However, the certificate is valid for my Pangolin hostname/wildcard domain, not the raw IP address, so Newt’s HTTPS ping to the IP address can't be validated.
A hostname/SNI test works correctly:
curl --resolve <PANGOLIN_HOSTNAME>:443:<PUBLIC_IP> https://<PANGOLIN_HOSTNAME>/pingSo this looks like Newt needs to use a hostname for HTTPS ping/SNI while still allowing Gerbil/WireGuard to use the base_endpoint public IP, as required by the Cloudflare proxy docs.