ubbitz
CDCloudflare Developers
•Created by ubbitz on 4/16/2024 in #general-help
Cloudflare Tunnel for multiple LXC containers in Proxmox
I'm running into a problem where I can't get more than one active tunnel working at a time.
I have Proxmox with various LXC containers (Jellyseerr, qBittorrent, etc.)
I've installed Cloudflared LXC via script from tteck using
Add cloudflare gpg key with
&
Added this repo to my apt repositories:
Did &
Log in Cloudflare via CLI:
Copy and paste cloudflare auth link into browser to get linked with my domain on Cloudflare side.
Created tunnel with:
Take note of new generated tunnel ID
Then cd into the cloudflared directory:
Then:
I add the following entry to config.yml file:
CTRL+X, y, ENTER to save to get back.
Then:
Last:
The first time I do this, (when only one entry in the config.yml) it works and tunnel is healthy and active on Cloudflare. When doing this a second time for the next tunnel (and adding the new entry to .yml) it does not work.
Any ideas?
11 replies
CDCloudflare Developers
•Created by ubbitz on 4/6/2024 in #general-help
Connecting to Docker container via Cloudflare Tunnel
I’m running Proxmox, with a Debian based instance of Portainer. In Portainer I have a virtual network that I’ve created that’s being used by several containers I’ve deployed - radarr, sonarr, jackett, overseerr etc. I am trying to use Cloudflare Tunnel to access the web gui of overseerr. I get as far as cloudflare telling me that the connection is healthy in the tunnel configuration, but when I attempt to connect with my sub.domain, it gives me a 502 error.
In my cloudflared instance on portainer, the log keeps throwing me this error:
error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: read tcp 172.17.0.3:39944->xx.x.x.xx:5055: read: connection reset by peer" connIndex=1 event=1 ingressRule=0 originService=https://xx.x.x.xx:5055
I’ve redacted the container IP address.
How can I go about connecting to my container via Cloudflare tunnel?
8 replies