Hi everyone,
I'm relatively new to Proxmox and have hit a wall trying to set up a Wireguard tunnel for my web services. I've searched the forum and read the documentation, but I can't seem to resolve an SSL 525 error.
I'm relatively new to Proxmox and have hit a wall trying to set up a Wireguard tunnel for my web services. I've searched the forum and read the documentation, but I can't seem to resolve an SSL 525 error.
My Goal
To route traffic from Cloudflare through a Wireguard tunnel to an NPM (Nginx Proxy Manager) instance running inside a Proxmox LXC container, all for added security.My Network Setup
- Cloudflare: DNS and proxy enabled (orange cloud).
- VPS (Wireguard Server): Has a public IP. Runs a Wireguard server. This part is confirmed working.
- Proxmox Host: On my local network.
- LXC 1 (Wireguard Client): Connects to the VPS Wireguard server. Its IP is 10.10.10.1 using VNet
- LXC 2 (NPM): The final destination for web traffic. Its IP is 10.10.10.3 using VNet. NPM is set up and listening.
The Problem
When I try to access my domain, I get a Cloudflare 525 "SSL handshake failed" error. This indicates that Cloudflare can reach my VPS, and the VPS can probably forward the traffic through the tunnel, but the NPM instance behind the tunnel is either not responding correctly or not completing the TLS handshake.Key Details & What I've Checked
- Working Baseline: The exact same Wireguard server and client configuration files work perfectly on a Casa OS system. This confirms the core Wireguard setup and NPM config are sound. The problem is specific to my Proxmox environment.
-
Code:
Server interface: wg1 public key: (hidden) private key: (hidden) listening port: 51820 peer: xxxxx/c9aSk= endpoint: xx.xx.xx.xx:34520 allowed ips: 10.200.200.2/32 latest handshake: 1 minute, 43 seconds ago transfer: 177.78 KiB received, 1.41 MiB sent Client interface: wg1 public key: (hidden) private key: (hidden) listening port: 40580 fwmark: 0xca6c peer: xxxxxxx= endpoint: xx.xx.xx.xx:51820 allowed ips: 0.0.0.0/0 latest handshake: 2 seconds ago transfer: 92 B received, 180 B sent persistent keepalive: every 25 seconds