-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Servers - Cloudflared Tunnel #2194
Comments
Update: I tried to install cloudflared tunnel within server. It was suucessful and the service is running but when I select "I have already set up the tunnel manually on the server." the following error shows when validating server. Error: kex_exchange_identification: Connection closed by remote host |
If you use |
I'm trying to add 2nd server which should be accessible from tunnel instead of direct access. I don't want to expose 2nd server's SSH port. |
I managed to get my tunnel working when I set the "IP Address/Domain" in the server's general configuration in Coolify to be the public hostname of the tunnel, not sure if that helps |
Hey, What did you add in cloudflare Tunnel url? I tried localhost:22 on cloudflare with tunnel as subdomain and "tunnel.example.com" in "IP Address/Domain" within coolify. |
In Cloudflare, I have my tunnel with a public hostname In Coolify, for the server, I have "IP Address/Domain" = When I enabled Cloudflare tunnels it was the same value there again for the "Configured SSH Domain". From memory it seemed a little buggy, maybe because I already configured the tunnel on the local machine beforehand. But with these settings it works perfectly for me now. |
Description
Hi,
I'm trying to implement cloudflared tunnel ssh. I did followed the steps provided in documentation but failed.
Anyone got success in this?
My server details:
Ubuntu 23
UFW Firewall used (Able to access if I use host.docker.internal but not via cloudflared tunnel)
Just in case, i've also added cloudflare ip addresses to whitelist.
IP Subnet 172.x.x.x, 127.x.x.x are all whitelisted.
Minimal Reproduction (if possible, example repository)
Exception or Error
ssh: connect to host localhost port 22: Connection refused
Version
v4.0.0-beta.277
The text was updated successfully, but these errors were encountered: