mirror of
https://github.com/fosrl/newt.git
synced 2026-03-09 07:12:28 -05:00
Newt client fails to establish connection to WireGuard server - persistent ICMP timeouts #36
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 @emon5122 on GitHub (Jun 14, 2025).
Newt client fails to establish connection to WireGuard server - persistent ICMP timeouts
Description
The Newt client (v1.2.1) is unable to establish a stable connection to the Pangolin WireGuard server. After successful registration, all ping attempts to the server IP fail with ICMP timeout errors, despite the WireGuard device being created successfully.
Environment
Steps to Reproduce
Expected Behavior
Actual Behavior
Additional Context
Log Excerpt
@emon5122 commented on GitHub (Jun 15, 2025):
Issue Resolved - Cloudflare Proxy Configuration Missing
Root Cause Identified: Missing Cloudflare proxy configuration in
config.ymlI discovered that I had overlooked a critical configuration requirement when using Cloudflare proxy (orange cloud) with Pangolin. The issue was not related to client-side networking or firewall problems, but rather a server-side configuration issue.
The Problem
When Cloudflare proxy is enabled, it obscures the destination IP of the host, which prevents WireGuard from connecting properly to the VPS. The Newt client was receiving the correct registration and configuration, but couldn't establish the actual WireGuard connection because it was trying to connect through Cloudflare's proxy network instead of directly to the VPS.
The Solution
Added the explicit VPS IP address configuration to
config.yml:Additional Requirements for Cloudflare Proxy
For anyone else encountering this issue while using Cloudflare proxy:
References
Closing this issue as resolved. Thanks to anyone who may have been investigating this!